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

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 All Metadata from a png image

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
Dennis445a Posted - Oct 16 2026 : 16:37:24
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
2   L A T E S T    R E P L I E S    (Newest First)
Dennis445a Posted - Oct 16 2026 : 19:28:47
Hey,

Thanks for this Nigel. Much appreciated.

dm
xequte Posted - Oct 16 2026 : 18:57:19
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