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
 CastColorRange
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

graph_man

328 Posts

Posted - Jul 08 2018 :  17:43:20  Show Profile  Reply
This command works only if BeginColor is darker than EndColor.
How to fix it?

xequte

39053 Posts

Posted - Jul 10 2018 :  21:41:41  Show Profile  Reply
Hi

We will investigate this for 8.0.2.

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

graph_man

328 Posts

Posted - Jul 11 2018 :  07:30:44  Show Profile  Reply
Thanks
Go to Top of Page

graph_man

328 Posts

Posted - Jul 11 2018 :  10:56:09  Show Profile  Reply
Fix it please for SelectColors also.
Go to Top of Page

xequte

39053 Posts

Posted - Jul 23 2018 :  19:15:41  Show Profile  Reply
Hi

We have discussed this internally, and have agreed that it is working as designed.

Ordering the colors passed as parameters could have unintended consequences, for example, if blue (0,0,255) and green (0,255,0) were passed, would we re-order the channels to black (0,0,0) to cyan (0,255,255).

Also, it is counter to mathematical expectation. E.g. if you request all numbers >= 5 and <= 3, you should get nothing, not 3, 4 and 5.

I will improve the documentation to make this more clear.


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