문제

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

도움이 되었습니까?

해결책

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top