ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 IPTC Custom Field
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

kclaas

Germany
17 Posts

Posted - Nov 10 2020 :  08:44:24  Show Profile  Reply
Hi,

i want write data into iptc cusom field 6 (iptc[2,205]) with IEvolution.

HiComponents.IEvolution.IEImage img = new HiComponents.IEvolution.IEImage();
string test = img.IOParams.IPTC_Info[2, 205].ToString();
img.IOParams.IPTC_Info.AddStringItem(2, 205, "testcustomfield6");
test = img.IOParams.IPTC_Info[2, 205].ToString();
img.SaveImage("test.jpg", HiComponents.IEvolution.IEFileFormats.JPEG);

After saving image the custom field 6 is not shown with other exif-applications e.g. exiftool.

Can't write IEvolution data to the iptc custom fields or what is wrong?

regards
karsten

xequte

38182 Posts

Posted - Nov 19 2020 :  16:13:12  Show Profile  Reply
Hi Karsten

This code works in our testing. As it is a custom field, ensure you are reading it as binary with exiftool.


Nigel
Xequte Software
www.imageen.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: