Scaling

Scaling

Field name Field type Description
Required fields
type Transformation.Type scaling
scale double [ ] Horizontal and vertical scaling factors

Letterbox Scaling

Field name Field type Description
Required fields
type Transformation.Type scalingletter
scale double [ ] Horizontal and vertical scaling factors

Scale to specified width or height

Field name Field type Description
Required fields
type Transformation.Type scalingaspect
fixedsidesize int Width or height of the specified side
specifiedside string Which side is specified ("w" or "h")
Optional fields
aspectratio double Target aspect ratio

Scale and crop image

Field name Field type Description
Required fields
type Transformation.Type scalingcrop
fixedsidesize int Width or height of the specified side
specifiedside string Which side is specified ("w" or "h")
Optional fields
aspectratio double Target aspect ratio

Terms of Use | © 2017, Impossible Software, or its affiliates. All rights reserved.