• lucy.benham

    (@lucybenham)


    When we run the imsanity plugin, our bulk upload of images (mixture of jpegs and pngs) almost doubles in size. One bulk upload went from 30MB to 64MB.

    After some investigation we released that it can only process and optimise the jpegs but re-saves the png files in another format.

    The original image (before running it through the plugin): 319KB
    After optimisation: 1.1MB

    We then ran these images through https://regex.info/exif.cgi and found that these images were different colour types. The original image (before running through the plugin) has a palette colour type and the post-processed image is saved as a RGB with alpha (hence why the file is bigger).

    What we feel imsanity should be able to do is, if unable to process this type of png, at the very least should not save it in another format. In short, Imsanity should leave any images that it can’t optimise in the original state.

    Is this an issue you are aware of?

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

  • The topic ‘PNG's being saved as RGB with alpha by default’ is closed to new replies.