transformImage

Transforms an image using the specified transformation type.

Return

The transformed image.

Parameters

img

The BufferedImage to transform.

transformation

The Transformation to apply.