Skip to content
Advertisement

Tag: exif

Copy an image and preserve its EXIF/IPTC data with PHP imageCreateFromJpeg?

I having some problems with an image that has EXIF/IPTC data stored in it. When I use imageCreateFromJpeg (to rotate/crop or etc) the newly stored file doesn’t preserve the EXIF/IPTC data. My current code looks like this: Am I doing something wrong? Answer You aren’t doing anything wrong, but GD doesn’t deal with Exif of IPTC data at all as

Advertisement