TIEBitmap.FixChannelOffset
Declaration
procedure FixChannelOffset();
Description
Makes
ChannelOffset property permanent (applying the specified offsets).
The ChannelOffset property values are then reset to zero.
Only works for ie24RGB, ie32RGB and ie48RGB pixel formats.
Note: If attached to a
TImageEnView, it will automatically call
Update// Display only the red channel
ImageEnView1.IEBitmap.ChannelOffset[1] := -255; // hide green
ImageEnView1.IEBitmap.ChannelOffset[2] := -255; // hide blue
ImageEnView1.IEBitmap.FixChannelOffset(); // Permanently apply changes