Resize and inspect a tiny square image
Admin ·
Small raster images need exact dimensions and deliberate sampling. Use the size links to start with the square you need, then inspect individual pixels before saving.
Make a 16 × 16 version of the example
Select 16 × 16 and Load example. The source is 80 × 40. Choose Contain with padding, Nearest neighbor and PNG, then click Resize square image.
The image fits into a centered 16 × 8 region inside the 16 × 16 frame. Four extra rows above and below are transparent. Increase Pixel preview zoom to make the pixel edges visible.
W3C Portable Network Graphics Third Edition, alpha channel and representation
Choose what to crop or keep
Try 32 × 32 with Cover and crop to fill a square while keeping the artwork’s proportions. Try 64 × 64 with Center crop at 1:1 to take native pixels from the center. Smaller sides are padded.
Use nearest neighbor for hard pixel edges. Bilinear blends the closest neighbors. Lanczos-3 samples a wider area when reducing the source and handles alpha before blending color.
| Fit | Effect |
|---|---|
| Contain | Keeps the full artwork and pads empty space |
| Cover | Fills the square and crops the edges |
| Stretch | Fills the square and can change proportions |
| Center crop | Copies central pixels without resizing them |
W3C Portable Network Graphics Third Edition, alpha channel and representation
Save a file at the chosen dimensions
Choose ICO to save one 32-bit bitmap at the active preset. Its directory lists a single image of that size. Keep PNG or WebP to use the raster directly and preserve transparency.
Choose JPEG when the destination uses opaque images. Any transparent padding is composited onto white. The preview zoom only changes inspection on screen.
Microsoft, the ICO header and directoryW3C Portable Network Graphics Third Edition, alpha channel and representation
Common questions
Does the zoom change the pixel dimensions of the export?
Zoom magnifies the on-screen preview. The downloaded file still uses the 16, 32 or 64 pixel preset.
Can I pick a preset from a link?
The links at the top of the tool select a size and update the address with the matching preset.