tau tau - 7 months ago 162
PHP Question

Remove EXIF data from JPG using PHP

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.


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