i wrote this code, when i try this code with jpg file, it works, but when i try it with gif file, the CanPutXMP return false,
can you help?
thank you very much
.... | ||
open file using SXMPFiles myFile | ||
the file is opened. | ||
then i tried to add a new name-value to the file, | ||
.... |
SXMPMeta meta; | ||
myFile.GetXMP(&meta); |
string strUTF8TagName="myName"; | ||
string strUTF8TagValue="myValue"; | ||
meta.SetProperty(kXMP_NS_XMP_MM, strUTF8TagName.c_str(), strUTF8TagValue.c_str(), 0); | ||
if(myFile.CanPutXMP(meta)) |