Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#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 Duncan, 11 years ago

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!

comment:3 by Christopher Allan Webber, 11 years ago

Keywords: review added
Milestone: 0.4.0

comment:4 by Christopher Allan Webber, 11 years ago

Resolution: fixed
Status: newclosed

Excellent work on this... sorry it took so long for me to review! I've merged it!

comment:5 by Christopher Allan Webber, 11 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.

Note: See TracTickets for help on using tickets.