public static Bitmap convertToBitmap(RasterImage image, int convertToImageOptions)
image
The RasterImage object containing the image data to convert.
convertToImageOptions
The options value to control the conversion operation.
A android.graphics.Bitmap object representing the converted image.
Use the convertToBitmap method to convert a LEADTOOLS RasterImage into an Android android.graphics.Bitmap object.
You can avoid making a copy of the actual image data when converting to an android.graphics.Bitmap by using the ConvertToImageOptions.LINK_IMAGE value.