rotate

Rotates the given image.

Parameters

rotation

one of ImageRotation are supported


fun rotate(imageRef: ImageRef, rotation: ImageRotation): ImageProcessor

Rotates the given image.

Parameters

imageRef

image to rotate

rotation

one of ImageRotation are supported


fun rotate(degrees: Int): ImageProcessor

Rotates the given image clockwise.

Parameters

degrees

0, 90, 180, 270 are supported


fun rotate(imageRef: ImageRef, degrees: Int): ImageProcessor

Rotates the given image clockwise.

Parameters

imageRef

image to rotate

degrees

0, 90, 180, 270 are supported