This function loads a bmp file that has been saved in seperate CMYK planes.
[C++Builder/Visual
C++] HANDLE
IKCMYKBmpPlaneFileLoad(LPCTSTR CFileName, LPCTSTR MFileName,
LPCTSTR YFileName, LPCTSTR KFileName);
[Delphi] function
IKCMYKBmpPlaneFileLoad(CFileName, MFileName, YFileName, KFileName:
PChar): THandle;
[Visual Basic] Function
IKCMYKBmpPlaneFileLoad(ByVal CFileName As String, ByVal MFileName
As String, ByVal YFileName As String, ByVal KFileName As String) As
Long
Parameters
| Name | Explanation |
|---|---|
| CFileName | The filename of the C plane image to be loaded |
| MFileName | The filename of the M plane image to be loaded |
| YFileName | The filename of the Y plane image to be loaded |
| KFileName | The filename of the K plane image to be loaded |
Return Value
Returns the image handle of the raster image if successful. Returns 0 if unsuccessful.
Explanation
The IKCMYKBmpPlaneFileLoad function loads a bmp file that has been saved in seperate CMYK planes. The individual CMYK plane images are 8 bit grayscale and the output image is 24 bit color.