Table of Contents

Class ImageProcessor

Namespace
IO.Scanbot.Sdk.Core.Processor
Assembly
DocumentSDK.NET.Droid.dll
[Register("io/scanbot/sdk/core/processor/ImageProcessor", DoNotGenerateAcw = true)]
public sealed class ImageProcessor : Object, 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(ImageProcessor)

[Register(".ctor", "(Lio/scanbot/sdk/core/processor/ImageProcessor;)V", "")]
public ImageProcessor(ImageProcessor processor)

Parameters

processor ImageProcessor

ImageProcessor(byte[])

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

Parameters

encodedBytes 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 path)

Parameters

path string

Properties

A

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

Property Value

long

B

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

Property Value

bool

JpegQuality

public static int JpegQuality { get; set; }

Property Value

int

Methods

ApplyFilter(ParametricFilter)

[Register("applyFilter", "(Lio/scanbot/imagefilters/ParametricFilter;)V", "")]
public void ApplyFilter(ParametricFilter filter)

Parameters

filter ParametricFilter

Crop(IList<PointF>)

[Register("crop", "(Ljava/util/List;)V", "")]
public void Crop(IList<PointF> polygon)

Parameters

polygon IList<PointF>

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[]

Finalize()

[Register("finalize", "()V", "")]
public void Finalize()

ProcessedImage()

[Register("processedImage", "()Landroid/graphics/Bitmap;", "")]
public Bitmap ProcessedImage()

Returns

Bitmap

Resize(int)

[Register("resize", "(I)V", "")]
public void Resize(int maxSize)

Parameters

maxSize int

Rotate(ImageRotation)

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

Parameters

rotation ImageProcessor.ImageRotation

SaveProcessedImage(string)

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

Parameters

path string

Returns

bool