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
 Transparency with 64bit DLL not working
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

dwilbourn

Netherlands
17 Posts

Posted - Jan 23 2021 :  07:06:49  Show Profile  Reply
I have recompiled my old 32bit app into 64bit and have discovered that the ImageEnView1.Proc.SetTransparentColors() method does not seem to work anymore. I have made no other changes to the surrounding code and I have version 9.2.5 installed for both 32 & 64 bit versions.

Is there something extra I need to do in 64bit?

xequte

38611 Posts

Posted - Jan 23 2021 :  14:30:20  Show Profile  Reply
Hi

So you are running the ImageEn code inside a DLL? Does it also fail for you in a normal EXE? Please include an image and the code you are using to reproduce.

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

dwilbourn

Netherlands
17 Posts

Posted - Jan 26 2021 :  11:51:38  Show Profile  Reply
Hi Nigel, sorry for the delay, busy weekend...
I have made a test app in both 32 & 64bit which shows the problem (my main app is a large commercial app). You can download the apps & source code from this link: https://we.tl/t-7k1fIL9wKp
Just run the app, open an image (sample included). click on a point in the image to set the transparent color. Save it and view the resulting PNG. The 32bit version has the transparent color, the 64bit does not.
David.
Go to Top of Page

xequte

38611 Posts

Posted - Jan 26 2021 :  16:30:33  Show Profile  Reply
Hi David

It looks like an issue in 9.2.5. Your compiled EXE fails, but when I compile with 9.3.0 it works as expected.

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

dwilbourn

Netherlands
17 Posts

Posted - Jan 26 2021 :  16:39:06  Show Profile  Reply
Thanks, I will have to install the update.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: