Support » Plugin: Imsanity » Strip metadata

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author nosilver4u


    If the active image library is GD, then yes, all metadata is stripped from any resized images. But that’s just by virtue of using GD, which is not capable of preserving any metadata. If ImageMagick is in use, then metadata is usually preserved.

    You can check the active library under Tools->Site Health->Info->Media Handling

    If you want to make sure all metadata is properly stripped, I recommend our other plugin, the EWWW Image Optimizer:

    Thanks for the quick reply, @nosilver4u .

    I considered EWWW Image Optimizer, but it’s a bit more than i’m looking for right now – too many features. I wanted something simpler, with a smaller footprint. Imsanity has just about the exact features i need.

    Also, EWWW Image Optimizer tells me i can’t use it locally because exec() has been disabled at the server level, and i’d need an API key – something i was trying to avoid.

    Ideally, i’d be able to bulk process all images, even those not resized. It sounds reasonably simple to use the existing plugin structure and just add this feature – then again, appearances can often be deceiving in this kind of thing.

    Do you think that’s something this plugin could do, or is it outside its scope?

    Plugin Author nosilver4u


    Since Imsanity is an image-resizing plugin, adding general image optimization/compression is outside of it’s scope. And if we did add such a thing, it would be similar to EWWW IO and would require exec() to run command-line tools. Unfortunately, there isn’t any way around that in pure PHP that I’m aware of, which is why all the other IO plugins require using a third-party API right from the start.

    Ah, that makes sense. Thanks for taking the time to explain.

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.