Skip to main content

Image Resize Modes

This document outlines the various image resizing modes used in FileFlows.

Resize Modes

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.

Cover

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 ensuring that neither dimension falls below the specified limits.


Example Scenario

For a source image with dimensions 1000x677, the following results will be produced when resized to 200x200:

Original Image

ModeResulting DimensionsResulting Image
Fill200x200Fill Result
Contain200x133Contain Result
Cover200x200Cover Result
Pad200x200Pad Result
Min200x133Min Result
Max300x200Max Result