PictureEffectsRaw Xojo Plugin |
|
ReplaceColorEffectRaw.SetTolerance Method (console safe)
Sets the tolerance of the color matching function.
SetTolerance(
value as Double,
valueIsPercent as Boolean)
Parameters
- value
- If value is percent then range of this value is from 0.0 to 100.0. (See bellow notes on range of the value if it is not percent)
- valueIsPercent
- True if value is percent else false. (Usually you will want percent unless you want really fine grade control of it)
Remarks
If the value parameter is not percent then its ranges are:
For EUCLIDEAN color difference method:
For 8 bit per channel bitmaps: 0 to 442
For 16 bit per channel bitmaps: 0 to 113510
For EUCLIDEAN_WEIGHTED color difference method:
For 8 bit per channel bitmaps: 0 to 765
For 16 bit per channel bitmaps: 0 to 196605
See Also
ReplaceColorEffectRaw Class