Table of Contents

Class ImageProcessor

Namespace
IO.Scanbot.Sdk.Process
Assembly
DocumentSDK.NET.Droid.dll
[Register("io/scanbot/sdk/process/ImageProcessor", DoNotGenerateAcw = true)]
public sealed class ImageProcessor : Object, IDisposable, IJavaObject, IJavaPeerable, IDisposable
Inheritance
ImageProcessor
Implements
Inherited Members

Constructors

ImageProcessor(Bitmap)

[Register(".ctor", "(Landroid/graphics/Bitmap;)V", "")]
public ImageProcessor(Bitmap bitmap)

Parameters

bitmap Bitmap

ImageProcessor(byte[])

[Register(".ctor", "([B)V", "")]
public ImageProcessor(byte[] jpeg)

Parameters

jpeg byte[]

ImageProcessor(byte[], int, int)

[Register(".ctor", "([BII)V", "")]
public ImageProcessor(byte[] nv21, int width, int height)

Parameters

nv21 byte[]
width int
height int

ImageProcessor(string)

[Register(".ctor", "(Ljava/lang/String;)V", "")]
public ImageProcessor(string imagePath)

Parameters

imagePath string

Properties

A

[Register("a")]
public Object A { get; set; }

Property Value

Object

B

[Register("b")]
public ImageProcessor B { get; set; }

Property Value

ImageProcessor

Methods

ApplyFilter(ParametricFilter)

[Register("applyFilter", "(Lio/scanbot/imagefilters/ParametricFilter;)Lio/scanbot/sdk/process/ImageProcessor;", "")]
public ImageProcessor ApplyFilter(ParametricFilter filter)

Parameters

filter ParametricFilter

Returns

ImageProcessor

Crop(IList<PointF>)

[Register("crop", "(Ljava/util/List;)Lio/scanbot/sdk/process/ImageProcessor;", "")]
public ImageProcessor Crop(IList<PointF> polygon)

Parameters

polygon IList<PointF>

Returns

ImageProcessor

Dispose()

[Register("dispose", "()V", "")]
public void Dispose()

EncodedProcessedImage(string)

[Register("encodedProcessedImage", "(Ljava/lang/String;)[B", "")]
public byte[] EncodedProcessedImage(string extension)

Parameters

extension string

Returns

byte[]

ProcessedBitmap()

[Register("processedBitmap", "()Landroid/graphics/Bitmap;", "")]
public Bitmap ProcessedBitmap()

Returns

Bitmap

Resize(int)

[Register("resize", "(I)Lio/scanbot/sdk/process/ImageProcessor;", "")]
public ImageProcessor Resize(int maxSize)

Parameters

maxSize int

Returns

ImageProcessor

Rotate(ImageRotation)

[Register("rotate", "(Lio/scanbot/sdk/core/processor/ImageProcessor$ImageRotation;)Lio/scanbot/sdk/process/ImageProcessor;", "")]
public ImageProcessor Rotate(ImageProcessor.ImageRotation rotation)

Parameters

rotation ImageProcessor.ImageRotation

Returns

ImageProcessor

Rotate(int)

[Register("rotate", "(I)Lio/scanbot/sdk/process/ImageProcessor;", "")]
public ImageProcessor Rotate(int degrees)

Parameters

degrees int

Returns

ImageProcessor

SaveProcessedImage(string)

[Register("saveProcessedImage", "(Ljava/lang/String;)Z", "")]
public bool SaveProcessedImage(string path)

Parameters

path string

Returns

bool