Table of Contents

Interface IImageFileIOProcessor

Namespace
IO.Scanbot.Sdk.Persistence.Fileio
Assembly
DocumentSDK.NET.Droid.dll
[Register("io/scanbot/sdk/persistence/fileio/ImageFileIOProcessor", "", "IO.Scanbot.Sdk.Persistence.Fileio.IImageFileIOProcessorInvoker")]
public interface IImageFileIOProcessor : IJavaObject, IJavaPeerable, IDisposable
Inherited Members

Methods

ReadImage(Uri, Options)

[Register("readImage", "(Landroid/net/Uri;Landroid/graphics/BitmapFactory$Options;)Landroid/graphics/Bitmap;", "GetReadImage_Landroid_net_Uri_Landroid_graphics_BitmapFactory_Options_Handler:IO.Scanbot.Sdk.Persistence.Fileio.IImageFileIOProcessorInvoker, DocumentSDK.NET.Droid")]
Bitmap ReadImage(Uri sourceUri, BitmapFactory.Options options)

Parameters

sourceUri Uri
options BitmapFactory.Options

Returns

Bitmap

ReadImage(File, Options)

[Register("readImage", "(Ljava/io/File;Landroid/graphics/BitmapFactory$Options;)Landroid/graphics/Bitmap;", "GetReadImage_Ljava_io_File_Landroid_graphics_BitmapFactory_Options_Handler:IO.Scanbot.Sdk.Persistence.Fileio.IImageFileIOProcessorInvoker, DocumentSDK.NET.Droid")]
Bitmap ReadImage(File source, BitmapFactory.Options options)

Parameters

source File
options BitmapFactory.Options

Returns

Bitmap

WriteImage(Bitmap, CompressFormat, int, File)

[Register("writeImage", "(Landroid/graphics/Bitmap;Landroid/graphics/Bitmap$CompressFormat;ILjava/io/File;)V", "GetWriteImage_Landroid_graphics_Bitmap_Landroid_graphics_Bitmap_CompressFormat_ILjava_io_File_Handler:IO.Scanbot.Sdk.Persistence.Fileio.IImageFileIOProcessorInvoker, DocumentSDK.NET.Droid")]
void WriteImage(Bitmap bitmap, Bitmap.CompressFormat compressFormat, int quality, File destination)

Parameters

bitmap Bitmap
compressFormat Bitmap.CompressFormat
quality int
destination File