Skip to content

Variable: setfill ​

ts
const setfill: ((fill) => CdnOperation) & NamedOperationCreator;

Defined in: ops/geometric.ts:313

Background fill color used by crop-outside-of-image, stretch/fill and alpha-channel flattening into JPEG.

See ​

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

Example ​

ts
setfill('8d8578') // → -/setfill/8d8578/