image
The UIImage/NSImage to be converted
options
Instance of LTConvertFromImageOptions to control the conversion operation.
completion
Handler that fires after conversion with the converted image if successful, or an error object if the conversion failed.
Use the ConvertFromImageAsync method to convert either a UIImage or an NSImage into a LEADTOOLS LTRasterImage asynchronously. 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. This method returns immediately and does the image conversion asynchronously in a queue