Code samples for CastColorRange.
Automatically generated by the Every Method demo.
// Automated test of CastColorRange - Typical Values
// CastColorRange
ImageEnView1.Proc.CastColorRange( CreateRGB( 0, 0, 0 ), CreateRGB( 100, 100, 100 ), TColor2TRGB( clBlack ));

// Automated test of CastColorRange - Alpha Channel - Typical Values
// CastColorRange
ImageEnView1.Proc.CastColorRange( CreateRGB( 0, 0, 0 ), CreateRGB( 100, 100, 100 ), TColor2TRGB( clBlack ));

// Automated test of CastColorRange - 32-Bit RGBA - Typical Values
// CastColorRange
ImageEnView1.Proc.CastColorRange( CreateRGB( 0, 0, 0 ), CreateRGB( 100, 100, 100 ), TColor2TRGB( clBlack ));

// Automated test of CastColorRange (Tolerance) - Typical Values
// CastColorRange - Using Tolerance
ImageEnView1.Proc.CastColorRange( TColor2TRGB( clWhite ), TColor2TRGB( clRed ), 10 );

// Automated test of CastColorRange (Tolerance) - Alpha Channel - Typical Values
// CastColorRange - Using Tolerance
ImageEnView1.Proc.CastColorRange( TColor2TRGB( clWhite ), TColor2TRGB( clRed ), 10 );

// Automated test of CastColorRange (Tolerance) - 32-Bit RGBA - Typical Values
// CastColorRange - Using Tolerance
ImageEnView1.Proc.CastColorRange( TColor2TRGB( clWhite ), TColor2TRGB( clRed ), 10 );

// Automated test of CastColorRange (Tolerance) - 1-bit - Typical Values
// CastColorRange - Using Tolerance
ImageEnView1.Proc.CastColorRange( TColor2TRGB( clWhite ), TColor2TRGB( clRed ), 10 );

// Automated test of CastColorRange - Random Values
// CastColorRange
ImageEnView1.Proc.CastColorRange( CreateRGB( 150, 150, 150 ), CreateRGB( 255, 255, 255 ), TColor2TRGB( clWhite ));

// Automated test of CastColorRange - Alpha Channel - Random Values
// CastColorRange
ImageEnView1.Proc.CastColorRange( CreateRGB( 150, 150, 150 ), CreateRGB( 255, 255, 255 ), TColor2TRGB( clWhite ));

// Automated test of CastColorRange - 32-Bit RGBA - Random Values
// CastColorRange
ImageEnView1.Proc.CastColorRange( CreateRGB( 150, 150, 150 ), CreateRGB( 255, 255, 255 ), TColor2TRGB( clWhite ));

// Automated test of CastColorRange (Tolerance) - Random Values
// CastColorRange - Using Tolerance
ImageEnView1.Proc.CastColorRange( TColor2TRGB( clBlack ), TColor2TRGB( clAqua ), 137 );

// Automated test of CastColorRange (Tolerance) - Alpha Channel - Random Values
// CastColorRange - Using Tolerance
ImageEnView1.Proc.CastColorRange( TColor2TRGB( clBlack ), TColor2TRGB( clAqua ), 137 );

// Automated test of CastColorRange (Tolerance) - 32-Bit RGBA - Random Values
// CastColorRange - Using Tolerance
ImageEnView1.Proc.CastColorRange( TColor2TRGB( clBlack ), TColor2TRGB( clAqua ), 137 );

// Automated test of CastColorRange (Tolerance) - 1-bit - Random Values
// CastColorRange - Using Tolerance
ImageEnView1.Proc.CastColorRange( TColor2TRGB( clBlack ), TColor2TRGB( clAqua ), 137 );
