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
 Recompile of a very old project in xe131 - imageen not found
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

orionmcdeath

United Kingdom
3 Posts

Posted - Aug 03 2026 :  05:10:59  Show Profile  Reply
I ran the IECompatibilityFixer.exe and it fixed most of the issues except for this last one

imageen not found in uses clause

When I removed it from uses these are the errors I get in code.

[dcc64 Error] xxxxxxxx.pas(428): E2010 Incompatible types: 'iexDefs.TIEChannel' and 'Integer'


these are the offending lines of code

bmp.ChannelOffset[0] := trunc(BTracker.Position);
bmp.ChannelOffset[1] := trunc(BTracker.Position);
bmp.ChannelOffset[2] := trunc(BTracker.Position);


BTracker is a simple UI TrackBar for the brightness providing integer values which are obviously no longer compatible

Any help greatly appreciated
Mick.


nosce te ipsum

xequte

39510 Posts

Posted - Aug 03 2026 :  15:54:29  Show Profile  Reply
Hi Mick

The imageen unit is no longer used. Please delete any references to it.

Please change the ChannelOffset code to:

ImageEnView1.IEBitmap.ChannelOffset[ iecRed ]   := trunc(BTracker.Position);
ImageEnView1.IEBitmap.ChannelOffset[ iecGreen ] := trunc(BTracker.Position);
ImageEnView1.IEBitmap.ChannelOffset[ iecBlue ]  := trunc(BTracker.Position);

https://www.imageen.com/help/TIEBitmap.ChannelOffset.html

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

orionmcdeath

United Kingdom
3 Posts

Posted - Aug 05 2026 :  03:30:49  Show Profile  Reply
That works a treat.

Happy days

Thanks Nigel


nosce te ipsum
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: