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
 All Metadata from a png image
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

Dennis445a

Canada
17 Posts

Posted - Oct 16 2026 :  16:37:24  Show Profile  Reply
With the demo app as attached, under general I see additional metadata such as prompt and workflow. However in my app it doesn't show this additonal information. Is there something I am missing? I checked the docs and can't seem to find the solution.

I have added this code as a basic test.

MetaList.DoubleBuffered := True;
MetaList.ExifTags := [ efCommon, efWindows, efCamera, efExtra, efAdvanced ];
MetaList.AlwaysShowTypes  := [ iemGeneral ];
MetaList.AttachedImageEn := ImageView;


Thanks for any help.





dm

xequte

39560 Posts

Posted - Oct 16 2026 :  18:57:19  Show Profile  Reply
Hi Dennis,

The extra fields you see in the demo (e.g. "prompt" and "workflow") are PNG text chunks, which are available in TIOParams.PNG_Chunks.

In the new beta, TIEMetaListView no longer shows PNG chunks by default (because they can be very large, e.g. the workflow of AI-generated images), but you can enable them in the OnAddMetaData event:

procedure TMainForm.MetaListAddMetaData(Sender: TObject; MetaType: TIEMetaType;
  RecIndex, DataIndex: Integer; var Caption, Value: string; var Include: Boolean);
begin
  // Show PNG text chunks (e.g. "prompt" and "workflow")
  if ( MetaType = iemGeneral ) and ( DataIndex = General_Tag_PNGChunks ) then
    Include := True;
end;


The beta also fixes an issue where PNG chunks were not loaded if the PNG was loaded using WIC (e.g. 64-bit apps without the IELib DLL, or when WicFastLoading is enabled), which is likely why they did not appear in your app.

Please email me for the beta.

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

Dennis445a

Canada
17 Posts

Posted - Oct 16 2026 :  19:28:47  Show Profile  Reply
Hey,

Thanks for this Nigel. Much appreciated.

dm
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: