image
The LTRasterImage to be converted
options
Instance of LTConvertToImageOptions to control the conversion operation.
error
Pointer to an NSError
An UIImage/NSImage object representing the converted image.
This method converts a LEADTOOLS LTRasterImage object to either a UIImage or an NSImage (**see note below).
The conversion works by copying the image data over to the new destination. Currently, there is no support for sharing memory between an LTRasterImage and an UIImage/NSImage.