image
The CGImageRef to be converted
options
Instance of LTConvertFromImageOptions to control the conversion operation.
error
Pointer to an NSError
A LTRasterImage object representing the converted image.
Use the ConvertFromCGImage method to convert a CGImage into a LEADTOOLS LTRasterImage. The conversion works by copying the image data over to the new destination. Currently, there is no support for sharing memory between a RasterImage and a CGImage.