Skip to main content
objectConversionParameters

Fields

aspectRatio
String!

The canvas's shape as width:height, each side a whole number from 1 to 100 (e.g. 4:3).

background
String

The colour behind transparent areas and padding, as six upper-case hex digits without # (e.g. FFFFFF). Null when none is set.

How the original is placed on the canvas.

The file format of the converted image.

paddingPercent
Int

Padding on each side as a percentage of targetSize, from 0 to 49. Set only with the mode that fills the background, null with the others.

quality
Int!

The output quality, from 1 to 100.

targetSize
Int!

The canvas's longer side in pixels, from 1 to 8000.