Overview
Introduction
This tool auto-enhances a PNG with a single click, combining contrast, sharpening, and saturation adjustments, entirely in your browser.
It's designed for quick, one-slider improvements rather than fine per-adjustment control.
What Is PNG Enhancer?
A client-side tool that composes three real adjustments — a contrast boost, an unsharp-mask sharpen, and a saturation boost — reusing the site's existing contrast and sharpen lib functions rather than re-deriving that math.
A single intensity value from 0 to 100 scales all three adjustments together, the same way a one-click 'auto enhance' button in a photo editor bundles multiple sliders into one.
How PNG Enhancer Works
The tool first applies a contrast boost scaled to 30% of the intensity value via the existing contrast-changer lib function, then applies an unsharp-mask sharpen scaled to 80% of the intensity via the existing sharpener lib function.
Finally, it computes each pixel's luminance and pushes its red, green, and blue values further away from that luminance by a saturation factor of 1 + intensity/200, boosting color vividness; at intensity 0 the image is returned as an unmodified clone.
When To Use PNG Enhancer
Use it when you want a quick visual improvement to a flat or dull-looking photo without manually tuning contrast, sharpness, and saturation separately.
It's also useful as a fast preview step before deciding whether a more targeted adjustment tool is needed.
Often used alongside PNG Dithering Remover, PNG Bayer Filter Adder and PNG Night Vision Effect Adder.
Features
Advantages
- Runs entirely client-side; the uploaded image never leaves your device.
- Bundles three common adjustments into one easy-to-use slider.
- Reuses the site's already-tested contrast and sharpen lib functions rather than duplicating that logic.
Limitations
- Offers no independent control over contrast, sharpening, or saturation individually — all three are locked together by the single intensity value.
- High intensity values can introduce sharpening halos or oversaturated colors.
Examples
Best Practices & Notes
Best Practices
- Start around intensity 40-60 for a balanced improvement before trying more extreme values.
- Compare the result at 0 (unchanged) against your chosen intensity to judge how strong the effect actually looks.
Developer Notes
The lib function operates on a plain Uint8ClampedArray PixelBuffer with no DOM dependency: it pipes the image through the existing changePngContrast (scaled to intensity * 0.3) and sharpenPng (scaled to intensity * 0.8) lib functions in sequence, then manually boosts saturation by computing luminance per pixel and scaling each channel's distance from that luminance by 1 + intensity/200.
PNG Enhancer Use Cases
- Quickly improving a dull or flat-looking product photo
- Giving a scanned image more pop before sharing it
- Prepping a thumbnail image with a fast one-click visual boost
Common Mistakes
- Setting intensity too high and getting oversaturated colors or sharpening halos around edges.
- Expecting independent control over contrast versus sharpening versus saturation — all three move together with intensity.
Tips
- Try intensity 0 first to confirm your baseline image, then increase gradually to find the sweet spot.
- Pair with the dithering remover first if the source image has dither noise, since sharpening can otherwise emphasize that noise.