Variable: scaleCrop
ts
const scaleCrop: ((width, height, options) => CdnOperation) & NamedOperationCreator;Defined in: ops/geometric.ts:216
Scales down and crops to exactly WxH (cover). Smart types use content detection; the explicit alignment is then only a fallback.
See
https://uploadcare.com/docs/transformations/image/resize-crop/#operation-scale-crop
Example
ts
scaleCrop(1252, 670, { type: 'smart' }) // → -/scale_crop/1252x670/smart/