Upscaling Images: What AI Enlargement Recovers and What It Invents
Enlarging an image used to mean one thing: spreading the existing pixels over a bigger grid and smoothing the gaps, which always looked soft. Neural upscalers changed what the result looks like, not what information is available. A 500-pixel photo still contains 500 pixels of evidence. What the network adds is a learned guess about what finer detail usually accompanies that evidence. Understanding that one fact tells you when to trust the output, which model to choose and when to stay with a plain resize.
Resampling versus reconstruction
Classic resampling — bilinear, bicubic, Lanczos — computes each new pixel as a weighted average of nearby originals. It is predictable and honest: nothing appears that was not implied by the source. It is also unavoidably soft, because averaging cannot create edges sharper than the ones it started with. Lanczos is the best of the classic filters, keeping edges crisper than bicubic at the cost of a faint halo next to strong contrast.
A neural upscaler is trained on millions of pairs of images: a sharp original and a deliberately degraded small copy. It learns to map the small copy back to the original. When you give it a new small image, it produces the sharp version that would most plausibly have been degraded into what it sees. Hair gets strands, brick gets mortar lines, fabric gets weave. Those details are statistically likely, not measured.
Why different models give different results
Each network reflects what it was trained on. A model trained on clean, high-quality photographs assumes its input is clean; given a heavily compressed JPEG, it treats the 8 × 8 compression blocks as real texture and sharpens them into a visible grid. A model trained on images that were compressed, blurred and noised on purpose learns to remove those defects before adding detail. A model trained on drawings learns that flat colour should stay flat.
| Source image | Model family to try first |
|---|---|
| Original camera photo, good quality | Photographic (DAT2 Nomos2 or Real-ESRGAN x4plus) |
| Small JPEG saved from a website or a chat app | Compressed / web (DAT2 BHI real) |
| Drawing, anime, logo, flat illustration | Illustration (Real-ESRGAN anime) |
| Material texture for normal or height maps | Clean PBR (DAT2 PBRify), which invents little |
| Text, diagrams, technical drawings | Classic Lanczos |
Transformer models such as DAT2 generally reconstruct longer structures — a continuous wood grain, a straight row of bricks — better than older convolutional models, because their attention mechanism compares distant parts of the image. They are also heavier, which is why they need a graphics card to be practical.
Choosing the factor
A 4× upscale multiplies the pixel count by sixteen. Fifteen of every sixteen output pixels are therefore reconstructed. At 2× the ratio is three in four, and the result stays much closer to the source. If the final use only needs twice the size, upscaling 4× and shrinking back is not automatically better; it gives the model more room to invent.
- Print a small photo larger: calculate the pixels needed at 300 dpi for the print size, then choose the smallest factor that reaches it.
- Prepare a texture for a 3D scene: 2× is usually enough to remove visible pixels at normal viewing distance.
- Restore an old web image for a new layout: match the factor to the display width on high-density screens, rarely more than 2×.
Recognising invented detail
Always judge an upscale at 100% zoom, not fitted to the screen. Fitted, everything looks sharp. At actual size the typical artefacts are easy to spot once you know them:
- Faces with skin that looks waxy or eyes with slightly mismatched irises.
- Lettering that becomes letter-shaped but unreadable, or changes one character into another.
- Repeating textures where the invented pattern flickers from tile to tile instead of continuing.
- Over-sharpened JPEG blocks that appear as a faint chequerboard in flat areas such as sky.
Two remedies help without discarding the model. Averaging several passes over mirrored copies of the image (the Stability control) keeps structure that is present in every pass and suppresses detail that changes randomly. Blending a portion of the classic result back in tones down invention in exchange for a little softness.
A reliable workflow
- Start from the original file, never a screenshot or a re-saved copy. Every extra JPEG save adds artefacts the model will enlarge.
- Crop first. Upscaling a region you will throw away wastes time and memory.
- Pick the model by source quality, as in the table above, and the smallest factor that meets the need.
- Compare before and after at 1:1 in the areas that matter: faces, edges, text.
- Save the result as PNG or another lossless format. Compressing it immediately to a low-quality JPEG throws away much of what was just reconstructed.
Common questions
Can AI upscaling recover detail from a very small image?
It can produce convincing detail, but not recover the original. Below roughly 100 pixels across a face or an object, the model is mostly drawing from its training rather than from the image.
Is a neural upscale suitable for printing?
Yes for photographs, art and textures, where plausible detail is the goal. Choose the factor from the print size at 300 dpi and inspect the result at 100% before sending it to print.
Why does my upscaled JPEG show a grid pattern?
The model treated JPEG compression blocks as real texture. Use a model trained on compressed images, such as the compressed / web method, or start from a less compressed source.
Try it yourself
The settings described above are all adjustable in the tool. Files stay on your device; nothing is uploaded to a server.
Image upscalerRelated guides
- iPhone HEIC Photos: Why They Will Not Open and How to Convert Them ProperlySince iOS 11, iPhones save photos as HEIC: half the size of JPEG at the same quality, and still refused by many upload forms. Converting is easy; converting without losing colour and metadata takes two decisions.
- What the Quality Slider Really Does, and How to Set ItQuality 80 is not 80 percent of anything. Here is what the number actually controls, why it behaves differently on different images, and a repeatable way to find the lowest setting you can get away with.
- Extracting Audio from Video: Copy, Convert and Choosing the Right FormatMost videos already contain a perfectly good compressed audio track. Getting it out unchanged is instant and lossless; converting it is sometimes necessary and always a trade.