Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Kamal Hamzat 17 posts 137 karma points
    Feb 08, 2022 @ 18:36
    Kamal Hamzat
    0

    Image Processor - setting quality increases the disk file size

    Hi there,

    We noticed that when we set image processor quality=90, the file size is bigger than the original file size. My expectation is that the disk file size should at least reduced compare with original disk file size. As shown below the file size is reduced when quality is set to 60. Surprisingly, the file size is almost 3x when quality is set to 100.

    Is this the way Image Processor Quality suppose to work? Or is there anything that we are missing in our Image Processor configs.

    We are using Umbraco 8.14.1, ImageProcessor 2.7.0.100, ImageProcessor.Web 4.10.100, ImageProcessor.Web.Config 2.5.0.100

    We also noticed the same behaviour on our Umbraco 7. 15.6 set up.

    Please kindly assist.

    Thanks.

    Description | Height | Width | Quality | Disk File Size

    Original Image | 1065 | 1600 | N/A | 284KB

    Original Image + Quality90 | 1065 | 1600 | 90 | 372KB

    Original Image + Quality60 | 1065 | 1600 | 60 | 235KB

    Original Image + Quality100 | 1065 | 1600 | 100 | 825KB

  • Greg Fyans 140 posts 342 karma points
    Feb 10, 2022 @ 15:39
    Greg Fyans
    100

    What format is the original image?

    If it's a JPG that's already been optimised, you probably don't want to use image processor at all because it will be optimising it all over again. It doesn't know you've already optimised it to 70% quality before uploading to the CMS.

    You want to try to always upload the highest quality images and let Image Processor optimise them for you.

  • Kamal Hamzat 17 posts 137 karma points
    Feb 10, 2022 @ 15:58
    Kamal Hamzat
    0

    It is JPG.

    Thanks.

Please Sign in or register to post replies

Write your reply to:

Draft