L_INT L_ConvertToCGImage(BITMAPHANDLE *bitmapHandle, CGImageRef *image, const L_ConvertToImageData *data)
bitmapHandle
Pointer to the BITMAPHANDLE to be converted
options
Instance of LTConvertToImageOptions to control the conversion operation.
outError
Pointer to an NSError
A CGImageRef representing the converted image.
Use the ConvertToCGImage> method to convert a BITMAPHANDLE to a CGImage. The conversion works by copying the image data over to the new destination. Currently, there is no support for sharing memory between a BITMAPHANDLE and a CGImage.