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
 IEMetaListView don't overwrite metadata
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

amorini

Italy
3 Posts

Posted - Jul 08 2025 :  04:35:56  Show Profile  Reply
Hi,
I'm using IEMetaListView together with ImageEnView to allow users to edit metadata.
Once the user is done, I call:
IEMetaListView1.SaveMetaToFile(ImageEnView1.IO.Params.FileName, [iemEXIF, iemIPTC, iemDICOM]);

However, not all metadata seem to be updated. Specifically, I allow the user to clear all existing metadata and insert only selected fields, but some original metadata still remain in the image.
Would it be better to use InjectJpegEXIF instead in this case?
Thanks!



Luigi

xequte

39097 Posts

Posted - Jul 08 2025 :  21:31:49  Show Profile  Reply
Hi Luigi

So we can reproduce this issue here, can you supply an sample file, and the steps that are you taking?

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

amorini

Italy
3 Posts

Posted - Jul 10 2025 :  04:43:36  Show Profile  Reply
Hi Nigel,
edit MetaLisView demo, adding IPTC_Info.AddStringItem(2,120,'test') in btnClearAll event after Reset

procedure TMainForm.btnClearAllClick(Sender: TObject);
begin
  ImageEnView1.IO.Params.ResetInfo([]);
  ImageEnView1.IO.Params.IPTC_Info.AddStringItem(2,120,'test');
  IEMetaListView1.Update();
  UpdateState();
end;

then with MetaListView.exe modified open image attached, then "Clear All Meta-Data", it should remain in the metalistview only Caption='test', then click "Save Meta-Data to Image" and save on the copy of the same image...all IPTC fields are identical to original except for Caption. I expected that delete fields disappear.

attach/amorini/20257104337_063_1775232823.jpg

Luigi
Go to Top of Page

xequte

39097 Posts

Posted - Jul 11 2025 :  00:33:14  Show Profile  Reply
Hi Luigi

Please email me for the latest beta which should fix this.

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