Table of Contents

Interface IScanbotImageProcessor

Namespace
ScanbotSDK.MAUI.ImageProcessing
Assembly
DocumentSDK.MAUI.dll
public interface IScanbotImageProcessor

Methods

ApplyFilters(ImageRef, ParametricFilter[])

Result<ImageRef> ApplyFilters(ImageRef image, ParametricFilter[] filters)

Parameters

image ImageRef
filters ParametricFilter[]

Returns

Result<ImageRef>

Crop(ImageRef, PointF[], DocumentCropOptimization)

Result<ImageRef> Crop(ImageRef image, PointF[] polygon, DocumentCropOptimization documentCropOptimization = DocumentCropOptimization.OptimizeQuad)

Parameters

image ImageRef
polygon PointF[]
documentCropOptimization DocumentCropOptimization

Returns

Result<ImageRef>

Resize(ImageRef, int)

Result<ImageRef> Resize(ImageRef image, int maxSize)

Parameters

image ImageRef
maxSize int

Returns

Result<ImageRef>

Rotate(ImageRef, ImageRotation)

Result<ImageRef> Rotate(ImageRef image, ImageRotation rotation)

Parameters

image ImageRef
rotation ImageRotation

Returns

Result<ImageRef>