Skip to content

Variable: size ​

ts
const size: ((options) => CdnOperation) & NamedOperationCreator;

Defined in: video/operations.ts:31

Output frame size; each dimension must be a positive integer divisible by 4 (downscale only, output capped near 4K).

See ​

https://uploadcare.com/docs/transformations/video-encoding/#operation-size

Example ​

ts
size({ width: 720, height: 540 }) // → -/size/720x540/