Code samples for SetColorFromAlpha.
Automatically generated by the Every Method demo.
// Automated test of SetColorFromAlpha - Typical Values
// SetColorFromAlpha - range 0 - 128 (sample alpha channel created by converting whitish pixels)
ImageEnView1.IEBitmap.SetColorFromAlpha( 0, 128 clWhite );
ImageEnView1.IEBitmap.RemoveAlphaChannel();
ImageEnView1.Update(); // Show changes in our viewer

// Automated test of SetColorFromAlpha - Alpha Channel - Typical Values
// SetColorFromAlpha - range 0 - 128
ImageEnView1.IEBitmap.SetColorFromAlpha( 0, 128 clWhite );
ImageEnView1.IEBitmap.RemoveAlphaChannel();
ImageEnView1.Update(); // Show changes in our viewer

// Automated test of SetColorFromAlpha - 32-Bit RGBA - Typical Values
// SetColorFromAlpha - range 0 - 128
ImageEnView1.IEBitmap.SetColorFromAlpha( 0, 128 clWhite );
ImageEnView1.IEBitmap.RemoveAlphaChannel();
ImageEnView1.Update(); // Show changes in our viewer

// Automated test of SetColorFromAlpha - Random Values
// SetColorFromAlpha - range 0 - 10 (sample alpha channel created by converting whitish pixels)
ImageEnView1.IEBitmap.SetColorFromAlpha( 0, 10 clBlack );
ImageEnView1.IEBitmap.RemoveAlphaChannel();
ImageEnView1.Update(); // Show changes in our viewer

// Automated test of SetColorFromAlpha - Alpha Channel - Random Values
// SetColorFromAlpha - range 0 - 10
ImageEnView1.IEBitmap.SetColorFromAlpha( 0, 10 clBlack );
ImageEnView1.IEBitmap.RemoveAlphaChannel();
ImageEnView1.Update(); // Show changes in our viewer

// Automated test of SetColorFromAlpha - 32-Bit RGBA - Random Values
// SetColorFromAlpha - range 0 - 10
ImageEnView1.IEBitmap.SetColorFromAlpha( 0, 10 clBlack );
ImageEnView1.IEBitmap.RemoveAlphaChannel();
ImageEnView1.Update(); // Show changes in our viewer
