Is there any way to remove the EXIF data from a JPG using PHP? I have heard of PEL, but I'm hoping there's a simpler way. I am uploading images that will be displayed online and would like the EXIF data removed.
Thanks!
EDIT: I don't/can't install ImageMagick.
Use
gd
to recreate the graphical part of the image in a new one, that you save with another name.See PHP gd
edit 2017
Use the new Imagick feature.
Open Image:
Be sure to keep any ICC profile in the image
then strip image, and put the profile back if any
Comes from this PHP page, see comment from Max Eremin down the page.