rotate

open override fun rotate(image: ImageRef, rotation: ImageRotation): Result<ImageRef>

Rotates the given image by the given angle.

Return

Rotated image.

Parameters

image

The image to rotate

rotation

Rotation to be applied