Stripping Image Metadata
Hi. There are plugins available like this one:
(although it’s a bit old) that will replace the default GD image processing engine with ImageMagick, so you have that option if you want it.
The question of whether and how to alter or remove metadata from images is probably a longer discussion, and one that others have had (e.g. this thread) Some users may actually want metadata to be removed/altered from an image before it is publicly displayed on the web, while others like yourself may be concerned about removing data that is important/helpful. You can use some different plugins and/or customize your site based on your own image processing needs.
I hope that helps.
Thanks for your reply.
I take your point. I wonder if the option should be there on the media page to choose GD or ImageMagick, rather than relying on a plugin (which I use but its age concerns me).
It is not merely the copyright issue, which as I said is not legally insignificant, but the profile stripping. Anybody with a wide gamut display will know that once WordPress/GD has had a go at your image then you are likely to be looking at a supersaturated mess.
I think this should be an option out of the box and not something that relies on a plugin.
I wonder if the option should be there on the media page to choose GD or ImageMagick
Do you think that WordPress’ large non-technical user base would have any idea what to do with such options?
A. Keep copyright information and other metadata in images (slightly larger file sizes)
B. Remove copyright information and other metadata in images (slightly smaller file sizes)
I’d still argue that it’s one more layer of complexity that non-technical users would prefer to avoid. Given that the decision in WordPress Ideas was that that this was firmly within plugin territory. it would seem that I’m not the only one.
Then I think I would have to argue that the present default behaviour is the wrong behaviour 🙂
I realise that I haven’t generated much enthusiasm with this request but before this thread disappears off the front page I wanted to make one last attempt to state my case.
In order to articulate it better I have written a short article: http://imagesites.info/wordpress-copyright-stripping/
Just one other thing. @esmi – when you referred to the decision in WordPress Ideas, was it this one (mentioned by Chris Hardie above): http://wordpress.org/ideas/topic/remove-metadata-and-exif-from-image-attachments
If it was then what was decided there was broadly in agreement with what I am suggesting.
That decision was that metadata should be retained, not stripped. That was for uploaded images only, I am making the case for resized images too.
I wonder if the option should be there on the media page to choose GD or ImageMagick, rather than relying on a plugin (which I use but its age concerns me).
ImageMagick is included in core WP and is, in fact, the default for WP. If you have it, WP uses it. if you don’t, it falls back to GD. If you have neither, we shoot Gonzo out of a cannon… (actually I have no idea what happens after that, probably something smart).
So… I have no idea why you’d not be seeing that as a default unless your server has a setup problem with Imagick (the PECL library that lets PHP talk to ImageMagic).
All exif headers are retained for me.
Really? Apart from not seeing the metadata in the resized images how would one tell?
When was this announced?
My host is Hostgator whom I would hope would get this right.
My phpinfo shows me Imagick and magickwand are installed, but I see nothing about PECL.
Any further info you can give me would be much appreciated.
I would be interested in why. It seems to me you would have to write code to actually strip away the data so there was a choice to do so. The whole its smaller file size doesn’t really float.
- The topic ‘Stripping Image Metadata’ is closed to new replies.