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
 SaveToFileICO creates artifacts
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

PeterPanino

860 Posts

Posted - Feb 05 2018 :  08:36:11  Show Profile  Reply
Hello!

I have a TImageEnMView containing an icongroup retrieved from an exe using TIEResourceExtractor.

The single-frame images are perfect, both when viewing them in an attached TImageEnView and when viewing them as Bitmaps in a debug message.

But when I save them as an ICO with SaveToFileICO I get strange artifacts in the ICO images:

mvIconsCursors.MIO.SaveToFileICO(FileSaveDialogImageGroup.FileName);


Please see the ICO with the artifacts attached:

attach/PeterPanino/20182583025_artifacts.zip
25.93 KB



ImageEn v7.5.0

xequte

38180 Posts

Posted - Feb 05 2018 :  23:59:41  Show Profile  Reply
Hi Peter

Can I reproduce this with one of our demos?


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

PeterPanino

860 Posts

Posted - Feb 06 2018 :  06:11:39  Show Profile  Reply
The issue can be reproduced with the attached Delphi project:

attach/PeterPanino/2018265595_GroupIconTest.zip
51.03 KB

Compile the project as 64-bit.

To recreate the exact same conditions used by me you can download the 64-bit version of the PDFXEdit.exe program from here:

https://www.tracker-software.com/product/pdf-xchange-editor

Otherwise, please adjust the file path and the resource name ('129') as indicated in the source.
Go to Top of Page

xequte

38180 Posts

Posted - Feb 06 2018 :  17:45:56  Show Profile  Reply
Hi Peter

Does it only happen with that one EXE?

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

PeterPanino

860 Posts

Posted - Feb 07 2018 :  07:22:11  Show Profile  Reply
Hi Nigel,

it happens with other program files too. Please try it out.

I am waiting desperately for you to fix that bug or to show me a workaround. PLEASE.
Go to Top of Page

xequte

38180 Posts

Posted - Feb 07 2018 :  15:30:28  Show Profile  Reply
Hi Peter

I can't reproduce ICO saving issues with any exe files on my system. Can I download the problematic exe (C:\Program Files\Tracker Software\PDF Editor\PDFXEdit.exe) somewhere without needing to install anything?

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

PeterPanino

860 Posts

Posted - Feb 07 2018 :  17:36:27  Show Profile  Reply
Hi Nigel,

I have sent you the file zipped as an attachment to your address:

Nigel Cross <nigel@xequte.com>
Go to Top of Page

PeterPanino

860 Posts

Posted - Feb 07 2018 :  17:38:53  Show Profile  Reply
As I suspected, the message could not delivered:

A message that you sent could not be delivered to one or more of
its recipients. This is a permanent error. The following address(es)
failed:

nigel@xequte.com:
SMTP error from remote server for TEXT command, host: aspmx.l.google.com (64.233.167.27) reason: 552-5.7.0 This message was blocked because its content presents a potentia
l
552-5.7.0 security issue. Please visit
Go to Top of Page

PeterPanino

860 Posts

Posted - Feb 07 2018 :  19:14:32  Show Profile  Reply
When instead of:

mvIconsCursors.AppendImage(ImageEVResource.IO.IEBitmap);


I write:

mvIconsCursors.AppendImage(ImageEVResource.IO.IEBitmap.VclBitmap);


then there is no artifact, but the background is black:

Go to Top of Page

xequte

38180 Posts

Posted - Feb 08 2018 :  01:34:17  Show Profile  Reply
Hi Peter

Rename the zip file to .notzip and then email. Or you can use a file sharing site.


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

PeterPanino

860 Posts

Posted - Feb 08 2018 :  08:23:05  Show Profile  Reply
Nigel, you should have received the file by now.
Go to Top of Page

xequte

38180 Posts

Posted - Feb 08 2018 :  19:24:02  Show Profile  Reply
Thanks, I can reproduce the issue, and will investigate shortly.

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

PeterPanino

860 Posts

Posted - Feb 14 2018 :  14:20:49  Show Profile  Reply
Nigel,

have you already investigated the issue?
Go to Top of Page

xequte

38180 Posts

Posted - Feb 15 2018 :  17:35:59  Show Profile  Reply
Hi

We have just added support for this kind of ICO. Please email us for an update.



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

PeterPanino

860 Posts

Posted - Feb 18 2018 :  18:25:44  Show Profile  Reply
Nigel,

thank you for your support! Now with ImageEn_Source_751_Beta_24 the problem is solved!
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: