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
 Png XMP problems
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

AndrewSergeev

4 Posts

Posted - Aug 13 2020 :  09:19:00  Show Profile  Reply
Hello

I have a PNG with iTXt chunk containing XMP information.
The app compiled in x64 mode with ielib64.dll can access it via PNG_TextEntries, but in x32 mode with ielib32.dll - have not...

What am I doing wrong?

xequte

38615 Posts

Posted - Aug 14 2020 :  00:44:52  Show Profile  Reply
Hi Andrew

Please forward me the PNG file.

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

AndrewSergeev

4 Posts

Posted - Aug 14 2020 :  04:00:11  Show Profile  Reply
I've sent it to support@xequte.com
Go to Top of Page

xequte

38615 Posts

Posted - Aug 17 2020 :  01:11:02  Show Profile  Reply
Thanks, I've received it. What is the code you are using?


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

AndrewSergeev

4 Posts

Posted - Aug 17 2020 :  01:48:11  Show Profile  Reply
with TImageEnIO.Create(nil) do
try
  LoadFromFile('C:\5C4C7280-E3CA-4042-801A-68A2C3342C8B.PNG');
  ShowMessage(Params.PNG_TextKeys.Text);
finally
  Free;
end;
Go to Top of Page

xequte

38615 Posts

Posted - Aug 19 2020 :  23:09:49  Show Profile  Reply
Hi Andrew

It looks like this kind of PNG text field is only supported by ielib, not the native PNG code (we'll look into that).

To have it work with ielib32.dll you need to ensure you have enabled:

{$define IEUSEDLLPNGLIB}

in ie.inc

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

AndrewSergeev

4 Posts

Posted - Aug 20 2020 :  02:15:53  Show Profile  Reply
Thank you! It's works.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: