crop

fun crop(container: ImageRef, polygon: List<PointF>): Boolean

Crops image to the given bounding box.

Return

true if the operation was successful, false otherwise