About this tool
Image Enhance uses Real-ESRGAN x4plus to reduce soft edges, noise, and compression texture in low-quality photographs. The model first reconstructs the image at high resolution in the browser, then exports at the original size, 2x, or 4x.
The official PyTorch FP32 checkpoint is used only for offline conversion and output validation. The page downloads a verified ONNX FP16 model and runs tiled WebGPU inference locally; the image is never uploaded.
How to use it
Upload the image to restore
Use the original file when possible instead of a screenshot or repeatedly compressed copy. The model suits photographs, older images, and JPEG artifacts.
Choose an output scale
Original size improves appearance without enlarging dimensions; 2x suits sharing and displays; 4x creates a higher-pixel asset.
Inspect details and export
Zoom into faces, text, product texture, and thin lines, then download only after checking for invented detail.
Supported range and limits
- Browser model
- RealESRGAN_x4plus ONNX FP16, about 32.2 MiB
- Conversion reference
- Official PyTorch FP32 checkpoint, used only for offline export and numerical validation
- Output scales
- Original size, 2x, or 4x; the model restores internally at 4x and smaller outputs use high-quality downsampling
- Runtime
- ONNX Runtime Web + WebGPU with 128px overlapping tiles
- Input limits
- About 4 MP maximum input and 40 MP maximum output; speed depends on the GPU and image dimensions
- Privacy
- Image decoding, model inference, and export all run locally in the browser
When you would use it
Restoring a low-resolution old photo
Reduce compression, noise, and soft edges so the image is easier to view on a modern display.
Improving a web image
Process an image affected by resizing or JPEG compression and export at 1x or 2x.
Preparing a larger asset
Use 4x output to increase pixel dimensions, then review it in the final layout or display environment.
What to know before you start
- The model generates visually plausible estimates; it does not recover information the source never recorded. Do not treat enhanced identity, archival, medical, legal, or forensic images as factual evidence.
- Low-resolution faces, text, and regular patterns are most likely to be reconstructed incorrectly and must be compared closely with the source.
- The HD model requires WebGPU. First use downloads about 32.2 MiB of model assets, which the browser will usually cache.
Related concepts
- Real-ESRGAN
- A blind super-resolution and restoration model for images with unknown real-world degradation.
- ONNX FP16
- A portable model format using half-precision weights to reduce download and GPU memory while staying close to FP32 output.
- tiled inference
- Running overlapping image patches separately, then cropping their overlap and stitching them into the final output.