crop

fun crop(polygon: List<PointF>): ImageProcessor

Crops the image to the given polygon.

Parameters

polygon

polygon to crop


fun crop(imageRef: ImageRef, polygon: List<PointF>): ImageProcessor

Crops the image to the given polygon.

Parameters

imageRef

image to crop

polygon

polygon to crop