Output Format

outputFormat - f - f_<output format>

Value
Type
Description

output format

string

Default Value: webp

Value can be;

  • webp, png, jpg, jpeg, avif, gif

  • sjpg (smart jpg-png conversation)

Eg. f_webp, f_png, ...

Sets the output format of the image.

Use Flatten & Background functions before changing the format to adjust the background color. Also consider that you may not need to change the format to jpg, since the alpha layer is gone by applying Flatten function.

sjpg

Smart jpg/png transformation. Detects transparency in the image. If transparency is found in the image, the output format will be set to png. Otherwise, the output format will be set to jpg.

Last updated