We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

JPG quality | Forum

Andre
Andre May 21 '12
Hello.

I have a new suggestion. The internal plugin WideImage ist set to 100% quality for writing uploaded JPGs. This blows the filesize unnecessary up, even with a lower picture size and the quality isn't better.

I think 60-70% is ok and should be set in the next release.

/ow_libraries/wideimage/Mapper/JPEG.php

function save($handle, $uri = null, $quality = 100)

to

function save($handle, $uri = null, $quality = 60)


PNG is already set to maximum compression, but this is no problem as it is a lossless format.
The Forum post is edited by Andre May 21 '12
Mark
Mark May 21 '12
Thanks for posting this, I agree with 60-70% quality setting.
Ted
Ted Feb 6 '13

Hi Andre! Thanks for posting.


Do you now where is i can change also width and height?

Michael I.
Michael I. Feb 8 '13
Ted, do you mean the avatar size?