Question

I have php script that creates a temporary watermark image for users that are not logged in. The original image contains IPTC (metadata) information that I would like to retain, however, when the watermark is applied and imagejpeg is called, all metadata is removed.

Any ideas how I can maintain the metadata or re-apply metadata after imagejpeg gets called?

Thanks

Was it helpful?

Solution

This is just what the iptcparse and iptcembed functions are for.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top