Skip to content

Variable: format ​

ts
const format: ((value) => CdnOperation) & NamedOperationCreator;

Defined in: ops/compression.ts:26

Output format. auto negotiates modern formats (WebP/AVIF) with the client; jpeg also raises the output dimension ceiling to 5000px.

See ​

https://uploadcare.com/docs/compression/#operation-format

Example ​

ts
format('auto') // → -/format/auto/