Image Resizer
Resizes an image and creates a new temporary file.
Mode
The mode to use when resizing the image
Fill
Fills the image to the entire width/height specified, ignoring the aspect ratio.
Contain
Resizes the image to fit within the specified width and height while preserving its aspect ratio. If the original image's dimensions are larger than the specified width and height, it will be scaled down proportionally to fit entirely within the specified area. No additional padding is added to the image.
Covert
Resizes the image to cover the specified width/height, cropping any excess.
Pad
Resizes the image to the desired width/height, maintaining the aspect ratio, and padding the image if necessary.
Min
Resizes the image to fit within the specified width/height, maintaining the aspect ratio, but not exceeding either dimension.
Max
Resizes the image to fit within the specified width/height, maintaining the aspect ratio, but not below either dimension.
Width
The width of the new file in pixels or percentage of the original file.
Height
The height of the new file in pixels or percentage of the original file.
Format
The image format to convert to
Quality
The quality parameter applies only to JPG
or WEBP
formats. For WEBP
, selecting a value of 100
ensures lossless compression.
Outputs
- Image resized and saved to new temporary file