Scale an Image to 1.5×, 2×, or 3×
Mathematical ResamplingImage scaling increases pixel dimensions so an image can fill a larger layout or meet a minimum-size requirement — but enlarging does not reveal detail the source never captured; an algorithm estimates new pixel values from the existing ones. The Scale Image tool accepts one JPG, PNG, or WebP file and enlarges it by 1.5×, 2×, or 3×, using a custom Lanczos-3-style method, browser bilinear smoothing, or nearest neighbor for pixel art, with PNG or high-quality JPEG output. This is mathematical resampling, not generative AI super-resolution.
Open Scale ImageQuick answer. Choose Lanczos-style scaling for many photographs and detailed graphics, bilinear for a smoother result, or nearest neighbor for deliberately hard pixel edges. Compare at 100% zoom and watch memory use: 2× dimensions create four times as many pixels, while 3× creates nine times as many.
Supported input and output
| Item | Current behavior |
|---|---|
| Accepted input | JPEG/JPG, PNG, or WebP |
| Files per operation | One |
| Scale factors | 1.5×, 2×, or 3× (default 2×) |
| Methods | Lanczos-3-style, bilinear, nearest neighbor |
| Output | PNG or JPEG (JPEG quality request 0.95) |
| Filename | scaled-1.5x.png, scaled-2x.jpg, and similar |
The destination dimensions are calculated by multiplying source width and height by the selected factor and rounding to whole pixels.
Scaling changes pixel dimensions, not captured detail
Suppose a source image is 800 × 600 pixels:
| Factor | Output dimensions | Total pixels | Increase |
|---|---|---|---|
| 1.5× | 1200 × 900 | 1,080,000 | 2.25× |
| 2× | 1600 × 1200 | 1,920,000 | 4× |
| 3× | 2400 × 1800 | 4,320,000 | 9× |
New pixels must be estimated. The source does not suddenly contain more optical detail merely because its grid is larger, so scaling cannot reliably turn an out-of-focus thumbnail into a sharp original photograph.
Choose a scaling method
Lanczos-3-style
Samples pixels within a three-pixel radius using a Lanczos-style kernel to preserve sharper-looking detail. Good for photos, detailed illustrations, and interface captures. Can produce ringing or halos near strong edges and is slower on large images. This is custom browser code, not identical to every desktop Lanczos-3 implementation.
Bilinear
Asks the browser canvas to draw the image with smoothing enabled and a high smoothing-quality preference. Good for photos where smoothness matters and soft gradients. Can soften fine detail and blur text and one-pixel lines. Canvas implementations differ between browsers.
Nearest neighbor
Disables image smoothing and expands source pixels into larger blocks. Good for pixel art, sprites, and retro game graphics. Produces jagged diagonals and blocky photos — the wrong choice for ordinary photos, the right choice when blockiness is intentional.
How to scale an image
- 1. Start with the best source. Use the highest-resolution, least-compressed original available. Scaling a compressed screenshot or social-media download also enlarges its blur, ringing, noise, and block artifacts.
- 2. Choose a factor. Use 1.5× for a moderate increase, 2× for a common integer enlargement, or 3× only when the larger grid is necessary and the device can handle the memory cost. The default is 2×.
- 3. Select a resampling method. Start with Lanczos-style for general imagery, bilinear when smoother output is preferable, or nearest neighbor for pixel art.
- 4. Choose PNG or JPEG. Use PNG for transparency, sharp graphics, screenshots, or repeated editing; use JPEG for opaque photographs when a smaller delivery file matters more.
- 5. Generate the scaled image. The browser creates a canvas at the new dimensions and calculates or draws the output pixels.
- 6. Inspect at 100% zoom. Look for halos around high-contrast edges, blurred text, jagged lines, enlarged JPEG artifacts, transparency changes, unexpected colors, and excessive file size. Compare all three methods when quality matters.
How the scaling implementation works
- 1. Loads the local image through an object URL.
- 2. Reads its decoded width and height.
- 3. Multiplies both dimensions by 1.5, 2, or 3 and rounds them.
- 4. Creates a destination canvas with the enlarged dimensions.
- 5. Applies the selected method.
- 6. Encodes the destination as PNG or JPEG and downloads a filename such as
scaled-2x.png.
Nearest neighbor disables canvas image smoothing. Bilinear enables smoothing and requests high smoothing quality. Lanczos-style mode reads source pixels into an array, evaluates nearby samples within a three-pixel radius, writes a new destination pixel array, and yields periodically while processing rows.
Why larger dimensions use much more memory
Pixel count grows with area, not with one dimension alone: 1.5× means 2.25× as many output pixels, 2× means 4×, and 3× means 9×.
An uncompressed RGBA pixel buffer commonly uses four bytes per pixel. A 4000 × 3000 source contains 12 million pixels, or about 48 MB for one basic RGBA buffer before overhead; a 3× output contains 108 million pixels, requiring about 432 MB for one such buffer. Lanczos-style processing may hold the source image, source pixel data, destination data, canvases, and encoded output at the same time, so actual memory use can be much higher. Browser canvas dimension limits also vary, and a valid source may fail when the enlarged destination exceeds the current limit.
Mathematical scaling versus AI upscaling
Mathematical resampling
Estimates new pixels from nearby source pixels; the result is deterministic for the same implementation and settings. It can increase dimensions and smooth or preserve edges, but it cannot truly recover detail absent from the source.
AI super-resolution
Uses a trained model to predict plausible details from learned patterns. It may look sharper, but predicted detail can be incorrect. The WeConvertFiles Image Scaler does not run an AI model, so avoid labels like "AI enhancer," "restore detail," or "unblur."
Choosing PNG or JPEG output
PNG
Supports alpha transparency, lossless pixel encoding, and suits screenshots, logos, diagrams, and pixel art. It can be large for photographs, and scaling still invents interpolated pixels even though PNG encoding is lossless.
JPEG
Often smaller for opaque photographs and widely supported, but lossy, with no alpha transparency and possible artifacts around text and sharp edges. Quality is requested at 0.95, though output size is not predictable.
The tool does not provide a background-color setting for transparent input. JPEG cannot preserve alpha, so test transparent areas because browser flattening behavior may not match the desired background. PNG output can retain the destination canvas alpha channel, which is the safer choice for logos, icons, and overlays.
Text, screenshots, and pixel art
Text and screenshots. Scaling text does not equal rerendering the original font at a larger size. Nearest neighbor keeps hard pixel boundaries but looks blocky; bilinear smooths but can blur letters; Lanczos-style may stay sharp but can add halos. When possible, recreate the screenshot at a higher native display scale or export the original vector/text design again.
Pixel art. Pixel art relies on a deliberate grid, so use nearest-neighbor scaling with integer factors such as 2× or 3×. A 1.5× scale does not map each source pixel to an equal integer-sized block, so some pixels occupy different output widths or heights, creating uneven shapes. Use PNG input and output, and inspect edges at 100% zoom.
Metadata, color profiles, and print
Canvas re-encoding focuses on decoded pixel values. Do not assume the output retains EXIF metadata, GPS coordinates, camera settings, IPTC or XMP fields, ICC color profiles, copyright fields, original timestamps, or embedded thumbnails. This can improve privacy when location metadata is removed, but it can disrupt professional color and asset-management workflows — keep the source and verify output requirements.
Increasing pixel dimensions changes the file's pixel grid; it does not create new optical information. Print quality depends on original detail, final physical dimensions, effective pixels per inch, viewing distance, printer and paper, and sharpening. Scaling may satisfy a software minimum or reduce visible pixelation at a layout size, but it cannot guarantee a sharp print from a poor source.
Privacy and data handling
Image contents are decoded, scaled, and encoded in browser memory and are not sent to WeConvertFiles for scaling. This tool uses browser APIs and local JavaScript processing rather than a remote AI service.
If a visitor consents to analytics, separate usage information such as visits, clicks, device details, or scaling events may be collected. Those analytics do not receive the image contents.
Browser extensions, malware, shared devices, downloaded files, backups, and cloud-synchronized folders can still expose images independently of scaling.
Limitations
- • One image per operation; JPG, PNG, or WebP input only.
- • Fixed factors of 1.5×, 2×, and 3×; PNG or JPEG output only.
- • No custom width or height, and no downscaling.
- • No AI super-resolution, denoising, deblurring, face restoration, or OCR.
- • Metadata and ICC profile preservation not guaranteed; JPEG cannot preserve transparency.
- • Large outputs may exceed memory or canvas limits.
- • Custom Lanczos-style code may differ from other Lanczos implementations.
Troubleshooting
The result is larger but not sharper
Scaling increases dimensions, not captured detail. Start with a higher-quality source or use a specialized AI workflow when predicted detail is acceptable.
Text looks blurry
Compare Lanczos-style and nearest neighbor. The best solution may be recreating the text at a larger native resolution.
Edges have halos
Try bilinear mode. Lanczos-style sharpening behavior can ring around strong contrast transitions.
Pixel art looks soft
Choose nearest neighbor and use 2× or 3× rather than 1.5×.
Transparency disappears
Choose PNG. JPEG has no alpha channel.
The browser freezes or runs out of memory
Use a smaller source or lower factor. A 3× enlargement creates nine times as many output pixels.
The output file is unexpectedly large
PNG photographs and high-resolution outputs can be large. Consider JPEG for opaque photos or use a separate WebP conversion after scaling.
Colors differ from the original
Canvas re-encoding may not preserve embedded color profiles and metadata. Use a color-managed desktop workflow when profile fidelity is essential.
Frequently asked questions
Which formats can I scale?
The tool accepts JPEG/JPG, PNG, and WebP.
Which scale factors are available?
Choose 1.5×, 2×, or 3×. The default is 2×.
Is this an AI image upscaler?
No. It uses mathematical resampling and does not run a generative model.
Does scaling restore missing detail?
No. It estimates new pixels from the existing image and cannot recover information that was never captured.
Which method is best for photographs?
Lanczos-style is a useful starting point, while bilinear may look smoother. Compare both on the actual image.
Which method is best for pixel art?
Nearest neighbor with an integer factor such as 2× or 3×.
Can the output remain transparent?
Choose PNG. JPEG does not support alpha transparency.
What JPEG quality is used?
The canvas encoder receives a quality request of 0.95.
Why does 3× require so much memory?
Tripling width and height creates nine times as many output pixels.
Are images uploaded for scaling?
No. Image contents are processed in browser memory and are not sent to WeConvertFiles for scaling.
Related tools
Image to WebP
Create a WebP delivery asset after scaling.
Bulk Resize
Resize several images or target a specific dimension.
Image Cropper
Change composition before increasing dimensions.
Related guides
HEIC to JPG / PNG Guide
Convert Apple HEIC photos to standard JPEG or PNG images in browser memory.
Crop Image Guide
Crop and trim image coordinates interactively with aspect ratio controls.
Bulk Image Resizer Guide
Resize multiple images in bulk by percentage, width, or height and download as a ZIP.
Enlarge an image the honest way
Pick a factor and a resampling method, generate the larger PNG or JPEG, and compare all three methods at 100% zoom.
Use Scale Image