std/image/resize/Resizeenumjsscheller/scrilib
Variants
Width : WidthResize

Resize by width, preserving the aspect ratio.

Height : HeightResize

Resize by height, preserving the aspect ratio.

WidthAndHeight : WidthAndHeightResize

Resize by the given dimensions, using a specified method of resizing: fill, crop, pad, etc.

Area : AreaResize

Resize the image so that its area is less than or equal to the specified area.

Percentage : PercentageResize

Scale the image by a percentage.