Image Processor
Class for applying chains of image processing operations on the single Image.
Functions
Link copied to clipboard
Applies filter to the image.
Link copied to clipboard
Crops the image to the given polygon.
Link copied to clipboard
fun encodedProcessedImage(encodeImageOptions: EncodeImageOptions = EncodeImageOptions.default()): Result<ByteArray>
Returns encoded processed image as Result
Link copied to clipboard
Returns processed image.
Link copied to clipboard
Returns processed image.
Link copied to clipboard
Resizes image to the given size.
Link copied to clipboard
Rotates the given image.
Rotates the given image clockwise.
Link copied to clipboard
fun saveProcessedImage(path: String, saveImageOptions: SaveImageOptions = SaveImageOptions.default()): Result<Unit>
Saves processed image to the given path.