Quantcast
Channel: Adobe Community: Message List - XMP SDK
Viewing all articles
Browse latest Browse all 801

Why CanPutXMP Fail

$
0
0

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))

Viewing all articles
Browse latest Browse all 801

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>