Image width stretcher
Widen or squeeze an image horizontally by a factor while the height stays unchanged, optionally keeping the canvas size and stretching only the content; pick area averaging or nearest neighbour and export PNG or JPEG.
Runs in your browserEvery computation happens in your browser — your data never leaves this device.
Images are processed locally in your browser with Canvas and never uploaded.
1.5 widens by 50%, 0.5 squeezes to half width; allowed range 0.1–8.
Pick an image first (PNG / JPEG / WebP / GIF all work).
Result details
Pick an image and set a factor — the stretched size and file size show up here.
What this tool does
- Widen a narrow asset: stretch a banner horizontally by a factor while the height stays exactly the same.
- Squeeze an oversized screenshot to 50% width so it still reads well inside a narrow column.
- Make the classic "fat" joke: push the factor to 2–3× with the canvas size locked and the subject stretches sideways without the frame growing.
- Different from the size changer: that tool takes an exact width and height (both may change), this one changes only the horizontal axis and speaks in factors.
Example
Input
A 4×2 image with factor 2 and "keep canvas size" unticked
Output
8×2, size change 2.00× / 1.00×, guaranteed to differ from the input pixels
The pure fattenImage logic resamples with area averaging. With the canvas size locked the output stays 4×2, but it is the stretched image centre-cropped back, so the pixels still differ from the source.
Frequently asked questions
What does "keep the canvas size" do?
It stretches the image to width × factor and then crops back to the original width from the centre, so the output size is unchanged and only the content is pulled apart (centre aligned). Unticked, the output width is the original × factor.
Area average or nearest neighbour?
Area averaging (the default) averages each region with alpha weighting: softer when enlarging and much closer to a real thumbnail when shrinking. Nearest neighbour keeps hard edges and never blurs, which suits pixel art and UI screenshots.
Does stretching make the image blurry?
Any horizontal enlargement loses detail because no information is added. Area averaging keeps gradients natural but softens edges; choose nearest neighbour when crisp edges matter, e.g. pixel art.
What factor range is allowed?
0.1 to 8 — squeeze to a tenth or stretch eight times. The output must still stay under 16 million pixels; oversized results report an error instead of being truncated silently.
Are my images uploaded?
No. Pixels are read through the canvas and processed entirely in the browser; there is no upload endpoint on the page.
Keywords:stretch imageimg fat