Dimensions and file size are not the same thing
People often use 'size' to mean two completely different things about an image, and confusing them leads to frustration. Dimensions are how many pixels wide and tall the image is — for example 1920 by 1080. File size is how many kilobytes or megabytes the image takes up on disk. They are related but not the same. Two images with identical dimensions can have very different file sizes depending on their format and compression, and reducing dimensions usually reduces file size but not in a fixed ratio.
When a form says 'maximum 600 by 600 pixels', it is talking about dimensions. When it says 'maximum 2 MB', it is talking about file size. Sometimes you need to satisfy both, which means resizing the dimensions and then compressing the result. Knowing which constraint you are solving for is the first step.
Why you can shrink an image but not truly enlarge it
This is the most important concept in resizing. A raster image contains a fixed number of pixels. When you make it smaller, the software has more information than it needs and can throw some away cleanly — the result stays sharp. When you make it larger, the software has less information than it needs and has to invent the missing pixels by guessing at the colours in between. That guessing is called interpolation, and no matter how clever the algorithm, it cannot recover detail that was never captured.
The practical rule is simple: always start from the largest, highest-quality source you have. If you need a 1200-pixel-wide image, resize down from a 3000-pixel original, never up from a 400-pixel thumbnail. Upscaling a small image will always look soft, and no tool can change that.
Aspect ratio: the cause of stretched, distorted images
Aspect ratio is the relationship between width and height. A photo that is 1600 by 900 has a 16:9 ratio. If you force it into a 1000 by 1000 square by setting both dimensions independently, the image will stretch — faces get wider, circles become ovals. To resize without distortion, you must either keep the original ratio, or crop the image to the new ratio before resizing.
Most good resizers let you lock the aspect ratio so that changing the width updates the height automatically. Use that lock unless you have a specific reason to distort. When a destination demands an exact square or a specific ratio that does not match your source, crop first to compose the shot the way you want, then resize the crop to the target dimensions.
Hitting exact pixel targets for uploads
Many official uploads — passport photos, ID documents, profile pictures on strict platforms — require precise dimensions. Here is a reliable process:
- Find the exact required dimensions in the destination's instructions before you start.
- If your source ratio does not match, crop to the required ratio first so nothing gets stretched.
- Resize the cropped image to the exact pixel width and height requested.
- Check the file size against any separate size limit, and compress if needed.
- Open the final image at 100 percent zoom to confirm important details are still clear.
Format matters as much as size
Resizing and format choice work together. If you resize a photo, save it as JPG or WebP, not PNG, or the file will be needlessly large. If you resize a logo or a screenshot with text, keep it as PNG so the edges stay crisp, or use WebP for a smaller lossless result. Resizing a sharp-edged graphic and saving it as JPG is a common mistake that adds ugly artefacts around the text. Match the format to the content, then resize within it.
Key takeaways
- Dimensions (pixels) and file size (kilobytes) are different constraints — know which one you are solving.
- You can shrink cleanly but never truly enlarge; always start from the largest source available.
- Lock the aspect ratio to avoid stretching, and crop first when the target ratio differs.
- Match the format to the content — JPG or WebP for photos, PNG or WebP for graphics and text.