Adding metadata to a newly generated image via php?
I have a php script that creates a temporary watermark image for users who are not logged in. The original image contains IPTC information (metadata) that I would like to preserve, however when the watermark is applied and the imagejpeg is called, all the metadata is removed.
Any ideas on how I can maintain metadata or reapply the metadata after the imagejpeg call?
thank
+2
source to share