Locked and unlocked ratios
With Keep aspect ratio selected, editing width recalculates height from the source ratio, and editing height recalculates width. The result is not stretched. The pixels are rounded to the nearest whole number, and the actual result card shows the rounded output dimensions.
When the lock is cleared, the tool compares the target ratio with the source ratio. If they differ, choose Crop to fit to fill the frame and trim the overflow, or Stretch to use the whole source image even though its proportions change. The preview updates before export.
- Locked: one dimension follows the other.
- Crop to fit: fills the target and trims the overflow.
- Stretch: keeps all pixels but changes proportions.
Orientation and transparency
Photos from a phone often store a rotation flag instead of rotated pixels. The tool decodes with imageOrientation: from-image, so the width and height you see are the upright dimensions, and the output is not sideways.
PNG and WebP exports start from a transparent canvas, so transparency survives. JPG has no alpha channel, so transparent pixels are composited onto white before encoding. The output format shown in the result is the format actually produced, not just the requested label.
Exact dimensions and limits
Each output dimension must be a whole number from 1 to 8,000 px. The total is capped at 24 megapixels so a phone is not asked to allocate an unbounded canvas. Source images above 100 megapixels or with a side over 12,000 px are rejected with a clear message rather than freezing the tab.
The preview is drawn at a screen-friendly scale with the same aspect ratio and fit mode as the export. The downloaded canvas is created at the full target pixels, so the file's actual width and height match the result card.
Formats and file size
JPG is encoded at quality 0.92 and is the smallest option for photos. PNG is lossless and is the right choice for screenshots, logos and transparency. WebP is offered only when the browser's canvas encoder supports it; the option is hidden otherwise, and an unexpected fallback is reported instead of mislabelling the file.
The result card reports the actual byte size. Resizing up does not add detail; it only gives the image more pixels. For a file-size limit, use Compress Image after resizing.
Privacy and language switching
The image is decoded and drawn by your browser. No pixels, file name or dimensions are sent to a server, analytics or a log. The download is a local Blob URL that is revoked after the save starts.
Switching language saves the image and the current width, height, lock, fit and format in IndexedDB, restores them on the paired page, and clears the draft. The draft expires after 30 minutes.
Does keeping the aspect ratio change both numbers?
Yes. Editing one dimension recalculates the other from the source ratio, so the image is never distorted while the lock is on.
What is the difference between crop and stretch?
Crop to fit fills the target frame and trims the overflow, keeping proportions. Stretch uses the whole source but changes its proportions.
Are phone photos rotated correctly?
Yes. The image is decoded with its orientation applied, so the source dimensions and the output are upright.
Can I keep PNG transparency?
Yes. PNG and WebP exports keep transparent pixels. JPG has no alpha channel, so transparency becomes white.
Why is WebP sometimes missing?
WebP output appears only when the browser provides a canvas WebP encoder. If it is unavailable, JPG and PNG remain available.
Does resizing up improve quality?
No. It adds pixels but cannot create detail. Start from the largest original you have.
What are the size limits?
Each side can be 1–8,000 px and the result can be up to 24 megapixels. Sources above 100 megapixels or 12,000 px on a side are rejected.
Is the image uploaded?
No. Decoding, preview and export happen in this tab. Only a temporary IndexedDB draft is used when you switch language.