• I’m doing some tests with a photo of a delicious hamburger, it’s a 2.00 MB photo that’s 7216 x 5412.

    When I use the quality setting of 90, max dimensions of 2400 x 2400, it works great. I get a 2400 x something image that’s around 1/4 of the original file size (as expected).

    When I use the quality setting of 100, my new image is sized correctly down to 2400 – however, the filesize actually increases to 2.04 MB.

    Is this expected behavior?

    https://www.ads-software.com/plugins/imsanity/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Yea unfortunately if the image you upload has a lower jpg quality than your setting then the image size can actually increase, even though the dimensions of the image are decreased. Because the jpg quality setting controls how much compression is used.

    WordPress itself uses 90 as the quality setting for all of the images it generates (thumbnail, med, large) so that’s the default for Imsanity as well.

    crmb

    (@crmb)

    Maybe you should add a 95% option ?

    I think 95% in wordpress (when i use add_filter( ‘jpeg_quality’..) is like 80 in photoshop. It is a good setting.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Quality of 100 actually increases filesize’ is closed to new replies.