This function loads raster image from a bmp file that has been saved in seperate YCrCb planes into the memory.
[C++Builder] HANDLE
IKYCCBmpPlaneFileLoad(LPCTSTR YFileName, LPCTSTR CrFileName,
LPCTSTR CbFileName);
[Delphi] function
IKYCCBmpPlaneFileLoad(YFileName, CrFileName, CbFileName: PChar):
THandle;
Parameters
Name | Explanation |
---|---|
YFileName | The filename of the Y plane image to be loaded |
CrFileName | The filename of the Cr plane image to be loaded |
CbFileName | The filename of the Cb plane image to be loaded |
Return Value
Returns the image handle of the raster image if successful. Returns 0 if unsuccessful.
Explanation
The IKYCCBmpPlaneFileLoad function loads raster image from a bmp file that has been saved in seperate YCrCb planes into the memory. The individual YCrCb plane images are 8 bit grayscale and the output image is 24 bit color.