XMP metadata lost from PNG files after saveing
Hello,
i am using Photosop CS3 SDK. through my plug-in I put some metadata in the file using XMP SDK 4.4.2.
For PNG files, if the file is modified and saved, all the XMP metadata is lost from the file.
The following steps are being done.
1. Put some metadata in PNG file using SXMPMeta::SetProperty and SXMPMeta::AppendArrayItem
2. modify the file (changed brightness, contrast, flattened the image).
3. Save this file.
After saving all the xmp metadata is lost from the PNG file. This works for all other formats.
What can be wrong that I am doing?
Is there any other way to put XMP metadata in file?
Thanks,
Hitesh
