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
 TImageEnProc.CastColor: Highest tolerance value?
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

PeterPanino

933 Posts

Posted - May 29 2013 :  15:44:01  Show Profile  Reply
Hi!

The help file states in the TImageEnProc.CastColor topic:
quote:
0=no tolerance, pixels must be equals

But what is the highest possible tolerance value?

xequte

38616 Posts

Posted - May 30 2013 :  02:49:02  Show Profile  Reply
Hi

Well the theoretical maximum is 255, but as it is referring to the level of difference in each color channel, you are unlikely ever to use a number greater than 100.

You can get an idea of the appropriate level by experimenting with:

http://www.imageen.com/help/TImageEnView.MagicWandTolerance.html

When setting TImageEnView.MouseInseract to include miSelectMagicWand.

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