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
 Possible bug in WIC saving
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

PetrPuncman

Czech Republic
1 Posts

Posted - Nov 27 2019 :  06:26:37  Show Profile  Reply
The method iewic>IEWicWrite(..) I believed saves an image data using any WIC codec not only TIFF. However there's a conditional compiler directive as follows:


{$ifdef IEINCLUDETIFFHANDLER}
IEInjectTIFFEXIF(Stream, Stream, '', '', 0, IOParams);
{$endif}


The IEINCLUDETIFFHANDLER is defined in my application. When I save JPEG or PNG through WIC I get unreadable file by even default image viewer in Windows. The reason is obvious, there's a TIFF Exif written in

When I comment it out the output is readable then.

Petr Puncman

xequte

4888 Posts

Posted - Nov 29 2019 :  03:27:50  Show Profile  Reply
Thanks Petr,

We'll have a fix in the next release.

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