Skip to content

Variable: stretch ​

ts
const stretch: ((mode) => CdnOperation) & NamedOperationCreator;

Defined in: ops/geometric.ts:92

Upscale behavior for the following resize/scale_crop operation — ordering matters, and the pair may repeat.

See ​

https://uploadcare.com/docs/transformations/image/resize-crop/#operation-stretch

Example ​

ts
stretch('off') // → -/stretch/off/ (applies to the following resize)