When using the resizing feature of the ShortPixel Online Compressor, the “Smaller than (W/H)” setting controls how the maximum width and height are checked against the image’s current dimensions.
- Both: The resizing feature ensures that the dimensions of the image stay within the specified maximum width and height, while preserving the aspect ratio. If either the width or height exceeds the maximum, the image will be resized to fit the smaller dimension.
Example: If you upload a 2000×2000 image and set the maximum dimensions to 1920×1080, the image will be resized to 1080×1080 because the height is the limiting factor, and the aspect ratio (1:1) is maintained. - One: The resizing feature ensures that at least one dimension (width or height) fits within the specified maximum. The image will be resized based on the dimension that fits first, and the other dimension will scale proportionally to maintain the aspect ratio.
Example: If you upload a 2000×2000 image and set the maximum dimensions to 1920×1080, the image will be resized to 1920×1920, as the width fits within the 1920 maximum, and the height will scale to maintain the aspect ratio.