Table of Contents

Class ImageProcessor

Namespace
IO.Scanbot.Sdk.Process
Assembly
DocumentSDK.NET.Droid.dll
public sealed class ImageProcessor : Object, IDisposable, IJavaObject, IDisposable, IJavaPeerable
Inheritance
ImageProcessor
Implements

Constructors

ImageProcessor()

public ImageProcessor()

ImageProcessor(Bitmap)

public ImageProcessor(Bitmap bitmap)

Parameters

bitmap Bitmap

ImageProcessor(ImageRef)

public ImageProcessor(ImageRef imageRef)

Parameters

imageRef ImageRef

ImageProcessor(byte[])

public ImageProcessor(byte[] jpeg)

Parameters

jpeg byte[]

ImageProcessor(byte[], int, int, ImageRotation)

public ImageProcessor(byte[] nv21, int width, int height, ImageRotation orientation)

Parameters

nv21 byte[]
width int
height int
orientation ImageRotation

ImageProcessor(string)

public ImageProcessor(string imagePath)

Parameters

imagePath string

Methods

ApplyFilter(ImageRef, ParametricFilter)

public ImageProcessor ApplyFilter(ImageRef imageRef, ParametricFilter filter)

Parameters

imageRef ImageRef
filter ParametricFilter

Returns

ImageProcessor

ApplyFilter(ParametricFilter)

public ImageProcessor ApplyFilter(ParametricFilter filter)

Parameters

filter ParametricFilter

Returns

ImageProcessor

Crop(ImageRef, IList<PointF>)

public ImageProcessor Crop(ImageRef imageRef, IList<PointF> polygon)

Parameters

imageRef ImageRef
polygon IList<PointF>

Returns

ImageProcessor

Crop(IList<PointF>)

public ImageProcessor Crop(IList<PointF> polygon)

Parameters

polygon IList<PointF>

Returns

ImageProcessor

Dispose()

public void Dispose()

EncodedProcessedImage(EncodeImageOptions)

public byte[] EncodedProcessedImage(EncodeImageOptions encodeImageOptions)

Parameters

encodeImageOptions EncodeImageOptions

Returns

byte[]

ProcessedBitmap()

public Bitmap ProcessedBitmap()

Returns

Bitmap

Resize(ImageRef, int)

public ImageProcessor Resize(ImageRef imageRef, int maxSize)

Parameters

imageRef ImageRef
maxSize int

Returns

ImageProcessor

Resize(int)

public ImageProcessor Resize(int maxSize)

Parameters

maxSize int

Returns

ImageProcessor

Rotate(ImageRef, ImageRotation)

public ImageProcessor Rotate(ImageRef imageRef, ImageRotation rotation)

Parameters

imageRef ImageRef
rotation ImageRotation

Returns

ImageProcessor

Rotate(ImageRef, int)

public ImageProcessor Rotate(ImageRef imageRef, int degrees)

Parameters

imageRef ImageRef
degrees int

Returns

ImageProcessor

Rotate(ImageRotation)

public ImageProcessor Rotate(ImageRotation rotation)

Parameters

rotation ImageRotation

Returns

ImageProcessor

Rotate(int)

public ImageProcessor Rotate(int degrees)

Parameters

degrees int

Returns

ImageProcessor

SaveProcessedImage(string, SaveImageOptions)

public bool SaveProcessedImage(string path, SaveImageOptions saveImageOptions)

Parameters

path string
saveImageOptions SaveImageOptions

Returns

bool