ImageProcessor

interface ImageProcessor

Interface for ImageProcessor API. See class documentation for more details.

Inheritors

Functions

Link copied to clipboard
abstract fun applyFilter(image: ImageRef, filter: ParametricFilter): Result<ImageRef>

Applies given filter to the given image.

Link copied to clipboard
abstract fun crop(image: ImageRef, quad: List<PointF>): Result<ImageRef>

Crops the given image to the given quadrilateral.

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

Resizes the given image to the given size.

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

Rotates the given image by the given angle.