Resize for a defined width and height
Choose pixel dimensions when a website or document gives an exact width and height. This is different from a KB limit: changing dimensions affects the pixel grid, while compression controls how the exported image is stored.
How to use it
- Select the image and enter the required width and height.
- Review the resize or cover-crop settings and preview.
- Download a copy and confirm the dimensions and visible edges.
What to check
Open the result’s image properties to confirm the dimensions, then inspect the full frame for anything lost at the edges.
Limits to keep in mind
A cover crop can cut away content to fill a different shape. Enlarging a small image does not recover original detail. Keep the source and inspect the composition before using the resized copy.
Resize to exact pixels and choose what stays in the frame
Pixel dimensions describe the output canvas. Choose Contain to keep the complete source image inside that canvas, or Cover to fill it by cropping the edges. Changing pixel dimensions does not guarantee a particular KB size.
| Example source and output | Contain | Cover |
|---|---|---|
| 1,200 × 800 → 600 × 600 | The image fits at 600 × 400, with space above and below. | The image fills the square; some content at the sides is cropped. |
| 1,200 × 800 → 600 × 400 | The aspect ratio matches, so the full image fits. | The aspect ratio matches, so no edge crop is needed. |
| A small original → a larger output | The canvas grows, but original detail cannot be recovered. | Enlarging can make soft edges more noticeable. |
Keep the complete image
For a wide image that must fit a square document box, enter the requested width and height, select Contain and choose a background. Open the downloaded copy and check all four source edges. Space around the image is expected when the aspect ratios differ.
Choose the right next step
Use Cover only when trimming edges is acceptable. The focus controls change which area remains visible in a cropped result. If a form also has a byte limit, compress the resized copy afterward.
References: MDN: drawing images on a canvas
Questions about this tool
What is the difference between pixels and KB?
Pixels describe the image grid; KB measures the stored file size. An image can meet the width and height requirement and still exceed an upload’s file-size limit.
Can resizing cut off part of my image?
A cover crop fills the requested shape and can remove edges. Review the focus controls and the exported frame, especially when the target aspect ratio differs from the original.
Will enlarging an image make it sharper?
More output pixels do not recover detail that was absent from the source. For a large display, start from a sufficiently detailed original.
Understand the next step
Prepare a document-photo copy
For a portrait workflow with print dimensions, see the document photo sizing and background options.