←Select platform

ConvertFromBitmap Method

Summary
Converts an Android android.graphics.Bitmap object into a LEADTOOLS RasterImage.
Syntax
Java
public static RasterImage convertFromBitmap(Bitmap bitmap, int convertFromImageOptions) 

Parameters

bitmap
The android.graphics.Bitmap object containing the image data to convert.

convertFromImageOptions
The options value to control the conversion operation.

Return Value

A RasterImage object representing the converted image.

Remarks

Android

Use the convertFromBitmap method to convert an Android android.graphics.Bitmap into a LEADTOOLS RasterImage object.

To avoid making a copy of the actual image data when converting from a android.graphics.Bitmap using the ConvertFromImageOptions.LINK_IMAGE value.

Requirements

Target Platforms

Help Version 21.0.2021.6.30
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Converters Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.