Sets the format of the Imagick object.