ImageProcessor

Class for applying chains of image processing operations.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
fun applyFilter(container: ImageRef, filter: ParametricFilter): Boolean

Process provided image with list of operations.

Link copied to clipboard
fun crop(container: ImageRef, polygon: List<PointF>): Boolean

Crops image to the given bounding box.

Link copied to clipboard
fun resize(container: ImageRef, maxSize: Int): Boolean

Resizes image to the given size

Link copied to clipboard
fun rotate(container: ImageRef, rotation: ImageRotation): Boolean

Rotates image by the given degrees which should be multiple of 90