DecodeBox
Search
K
Guides
SDK Reference
Operations
Playgrounds
Operations Explorer
Auto Detection Lab
Encoding & Decoding Lab
Open DecodeBox
Theme
Menu
ON THIS PAGE
#
Resize Image
Changes the size of the picture, in pixels or as a percentage.
ID:
resize-image
Category: Multimedia
Aliases: scale image, shrink, enlarge, thumbnail
#
Arguments
Argument
Type
Default
Constraints
Width
number
100
Minimum: 1
Height
number
100
Minimum: 1
Unit
option
"Pixels"
Pixels, Percent
Keep the aspect ratio
boolean
false
Smooth
boolean
true