←Select platform

ConvertFromBitmap Method

Summary

Converts an Android android.graphics.Bitmap object into a LEADTOOLS RasterImage.

Syntax

C#
VB
Java
C++
public static Leadtools.RasterImage ConvertFromBitmap(  
   Bitmap bitmap, 
   int convertFromImageOptions 
) 
Public Shared Function ConvertFromBitmap( _ 
   ByVal bitmap As Bitmap, _ 
   ByVal convertFromImageOptions As Integer _ 
) As Leadtools.RasterImage 
public static RasterImage convertFromBitmap(Bitmap bitmap, int convertFromImageOptions) 
public: 
static Leadtools.RasterImage^ ConvertFromBitmap(  
   Bitmap^ bitmap, 
   int convertFromImageOptions 
)  

Parameters

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

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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Converters Assembly