ScanbotSdkImageManipulator

API for image processing. If applicable on the platform, all the methods return images with the same liveness flag as the input image.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun cropRect(image: ImageRef, rect: RectF): Result<ImageRef>

Crops out the given rectangle from the image.

Link copied to clipboard
open override fun flip(image: ImageRef, origin: ImageOrigin): Result<ImageRef>

Flips the given image horizontally or vertically.

Link copied to clipboard
open override fun resize(image: ImageRef, size: Int): Result<ImageRef>

Resizes the given image to the given size.

Link copied to clipboard
open override fun rotate(image: ImageRef, rotation: ImageRotation): Result<ImageRef>

Rotates the given image by the given angle.