Proportional scaling

更新时间:
复制 MD 格式

Image Processing lets you scale an image proportionally by specifying a percentage parameter.

Parameter

Name

Description

Valid values

p

Percentage

1 to 1000

A value less than 100 scales the image down. A value greater than 100 scales the image up.

Note
  • If you do not specify a format, the source image is converted to the JPG format by default. This may cause distortion if the source image is in a format such as PNG, WEBP, or BMP. For more information, see Quality transformations and Format conversions.

  • When the p parameter is used with the w and h parameters, the scaling percentage is applied to the width and height values. For example, 100w_100h_200p is equivalent to 200w_200h.

  • When an image is scaled up, the maximum length of an edge cannot exceed 4,096 px × 4.

Examples