This function saves a raster image into seperate CMYK planes. The saved images are in BMP format.
[C++Builder] BOOL
IKCMYKBmpPlaneFileSave(LPCTSTR CFileName, LPCTSTR MFileName,
LPCTSTR YFileName, LPCTSTR KFileName, HANDLE Handle);
[Delphi] function
IKCMYKBmpPlaneFileSave(CFileName, MFileName, YFileName, KFileName:
PChar; Handle: THandle): LongBool;
Parameters
Name | Explanation |
---|---|
CFileName | The filename of the saved C plane image |
MFileName | The filename of the saved M plane image |
YFileName | The filename of the saved Y plane image |
KFileName | The filename of the saved K plane image |
Handle | The image handle of the raster image to be saved |
Return Value
Returns True (nonzero) if successful. Returns 0 if unsuccessful.
Explanation
The IKCMYKBmpPlaneFileSave function saves a raster image into seperate CMYK planes. The saved images are in BMP format.
The input image (that image set in the ImageHandle parameter) must be 24 bit color. The output images (corresponding to the various CMYK planes) will be 8 bit grayscale. The image data set in the Handle parameter is saved in the various CMYK planes.