tau tau - 1 year ago 381
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.

Answer Source

Use gd to recreate the graphical part of the image in a new one, that you save with another name.

See PHP gd

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download