OutputOptions

Configuration options for the output image.

Fields
mimeType string

The MIME type of the output image.

The following values are supported:

  • image/jpeg
  • image/png

If not set, defaults to image/png.

compressionQuality integer

Specifies the compression quality for JPEG images. Accepted values are in the range [0, 100].

If not set, defaults to 75.

JSON representation
{
  "mimeType": string,
  "compressionQuality": integer
}