image
The UIImage/NSImage 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 ConvertFromImage method to convert either a UIImage or an NSImage into a LEADTOOLS LTRasterImage (**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 a LTRasterImage and a UIImage/NSImage.