This function saves a raster image into seperate RGB planes.

[C++Builder]   BOOL IKRGBBmpPlaneFileSave(LPCTSTR RedFileName, LPCTSTR GreenFileName, LPCTSTR BlueFileName, HANDLE Handle);
[Delphi]   function IKRGBBmpPlaneFileSave(RedFileName, GreenFileName, BlueFileName: PChar; Handle: THandle): LongBool;

Parameters

Name Explanation
RedFileName The filename of the R plane image to be saved
GreenFileName The filename of the G plane image to be saved
BlueFileName The filename of the B plane image to be saved
Handle The image handle of the raster image to be saved in 4 seperate RGB planes

Return Value

Returns True(nonzero) if successful. Returns 0 if unsuccessful.

Explanation

The IKRGBBmpPlaneFileSave function saves a raster image into seperate RGB planes. The raster image must be 24 bit color. The raster image set in the Handle will be saved as three seperate images each corresponding to the various RGB planes. The output images (corresponding to the various RGB planes) will be 8 bit grayscale.

 

The ImageKit10 VCL is a product created by Newtone Corporation