• Resolved dingdang

    (@dingdang)


    Hello,

    these two:
    – delete originals
    – compress ratio
    are applied actually only when a resize is done. Is there a way to process ALL images and:
    – delete originals (even if the image is not supposed to be resized, because it fits in the limits)
    – rewrite the image (to apply the lower set image quality, even if the image is not supposed to be resized, because it fits in the limits). Ideally here the rewrite should be done to a temp file, compare sizes and rewrite only if it is in specific threshold of optimized size (i.e. if the size of the file becomes greater, or lower but w/o a big difference, to ignore the rewrite process).

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support adamewww

    (@adamewww)

    The “Delete Originals” option is not something that is generally doing anything to your images. It is referring to https://make.www.ads-software.com/core/2019/10/09/introducing-handling-of-big-images-in-wordpress-5-3/

    When you upload an image that is larger than 2560px, WordPress (not Imsanity) automatically scales that image down and appends the new image with -scaled and uses that new image for everything. However, the overly large image that you initially uploaded is still sitting there, mainly just taking up space. This option gets rid of those.

    If you are looking to manage your resizes better, I would recommend looking at using Force Regenerate Thumbnails and EWWW Image Optimizer. In EWWW, you can select which resizes are generated and then with Force Regenerate Thumbnails, it deletes all of the resizes and regenerates only the ones you selected in EWWW.

    Thread Starter dingdang

    (@dingdang)

    Hello,

    I think you didn’t understood my question, but unfortunately I checked the code and the answer to my question is NO.

    Once again – it is about forcing rewrite of images even when there is no need to resize – just to apply different quality of JPEG.

    Plugin Support adamewww

    (@adamewww)

    I apologize. I’m glad you were able to find your answer.

    Thread Starter dingdang

    (@dingdang)

    ?? Well I haven’t find it, I have to patch your code to achieve what I need… You could think of a little extension to the plugin, it would be usable to others.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Process all images’ is closed to new replies.