Image Tools
Image Resizer
Updated
Resize settings
Processing stays in this browser and makes no file-upload or conversion request.
One static JPEG, PNG, or WebP; 1 byte–8 MiB; at most 8192 px per side and 16000000 pixels.
Choose an image and bounded output dimensions.
Original-ratio dimension arithmetic
With a decoded source width W and height H, a new width w derives height as Math.round(w × H ÷ W). A new height h derives width as Math.round(h × W ÷ H). Each result must remain within 8192 pixels per side and 16000000 total pixels.
Example: a 2400 × 1600 source changed to width 1200 derives height Math.round(1200 × 1600 ÷ 2400) = 800.
Rendering and limitations
The output uses high browser canvas smoothing where supported and retains the validated source MIME. It does not claim a professional resampling algorithm or restored detail.
Metadata may not survive, decoded orientation may be normalized, color appearance may differ, and file size can increase or decrease. Processing is local but is not guaranteed privacy, deletion, malware scanning, or archival fidelity.
Fit a photo into a required image slot
For a 1200 × 800 photo, keep the original ratio locked and enter width 600: height becomes 400. The output has 240,000 pixels instead of 960,000, one quarter of the source pixel count. That does not promise one quarter of the file bytes; format, content and re-encoding also affect size.
If a form requires a square 600 × 600 image, this 3:2 source cannot fill it proportionally here. Unlocking and entering both sides stretches the image; this tool does not crop or add padding. Prepare the composition separately rather than treating a dimension change as a crop.
Check both limits before exporting: 6000 × 4000 is within the per-side cap but contains 24,000,000 pixels, so it exceeds the 16,000,000-pixel cap and is rejected. Review the downloaded dimensions and appearance before uploading to the destination; the resizer retains JPEG, PNG or WebP rather than changing format.
Change bounded static raster pixel dimensions with an optional aspect-ratio lock.
Quick answers
What this calculator answers
- Purpose: Changes the pixel dimensions of one validated static JPEG, PNG, or WebP image.
- Aspect ratio: The initial lock derives the other side from the original decoded ratio using final whole-pixel rounding.
- Boundary: Upscaling is bounded but cannot restore missing source detail; unlocked dimensions can distort the image.
Transparency note
Accuracy and limitations
Calzivo tools are built for practical estimates, conversions, and checks. Some tools use standard formulas or simplified assumptions, and results can be affected by input accuracy, rounding, units, local rules, or changing official requirements.
File and image results can vary by file structure, browser support, size, fonts, compression, and format limits. Review downloaded files before using or sharing them, and avoid sensitive files unless you understand how the tool handles them.
Reference check
Sources and references
These references provide background context for the topic. They do not replace official advice or documents for personal decisions.
- File API
World Wide Web Consortium
- Canvas toBlob
WHATWG
- ImageBitmap and image decoding
WHATWG
How to Use This Tool
Use these steps to enter the right inputs and interpret the result correctly.
Choose one static JPEG, PNG, or WebP image.
Keep aspect lock on for proportional resizing, or turn it off and enter both dimensions.
Choose Resize Image, review the preview, then download or Reset.
