#531 closed enhancement (fixed)
Compression Options for Images
Reported by: | Duncan | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 0.4.0 |
Component: | programming | Keywords: | artefacts, images, review |
Cc: | Parent Tickets: |
Description
Currently the resized images are quite heavily artefacted. It would be nice if the user (or possibly the server owner) could set custom compression levels to trade off size/quality.
Change History (5)
comment:1 by , 12 years ago
comment:2 by , 12 years ago
Quality option added to the config file works great https://gitorious.org/~dunkyp/mediagoblin/dunkyps-mediagoblin/commits/image_quality
comment:3 by , 12 years ago
Keywords: | review added |
---|---|
Milestone: | → 0.4.0 |
comment:4 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Excellent work on this... sorry it took so long for me to review! I've merged it!
comment:5 by , 12 years ago
I also switched the default quality level to 85. I wouldn't be against bumping it up to 90... I wonder what others think.
This should actually be quite easy. Set resized.save(resized_file, quality=100) in "processing.py". However it might be nice if we could convert from png to jpeg and vice vesras.
Need to decide on whether to set this as a global option or something the user can decide on a per upload basis.
On the plus side setting quality higher looks MUCH better!