convertTo

Converts this image to another image format.

Return

A new Image object that is in the new format

Parameters

format

The image format to convert to