Image filter lab
Four stackable filters — brightness, contrast, saturation and temperature — applied in a fixed order (temperature, brightness, contrast, saturation) per pixel, exported locally.
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.
Pick an image first (PNG / JPEG / WebP / GIF all work).
No result yet
Result
These are the real numbers from this run — copy them straight out.
Pick an image and the result shows up here.
What this tool does
- Fix flat or dark phone photos: add contrast, then brightness — far more controllable than a one-tap filter.
- Unify the mood of a photo set by pushing temperature warm or cool for consistent white balance.
- Set saturation to -100 as a flexible desaturate that still lets you tune brightness and contrast at the same time.
Example
Input
A 2×2 image of [10,20,30,255], [40,50,60,255], [70,80,90,255] and [100,110,120,255] with brightness +20, contrast +20, saturation +20 and temperature +20
Output
[7,3,1,255], [50,46,44,255], [92,90,86,255], [135,133,129,255]
The order is fixed: temperature → brightness → contrast → saturation. A different order gives different results, and all-zero parameters reproduce the original pixel for pixel.
Frequently asked questions
Does the order of the four parameters change the result?
Yes. The pipeline is fixed as temperature → brightness → contrast → saturation and is applied per pixel in that sequence, so the same numbers produce different pixels in a different order — the order is not adjustable here. If you want to reproduce someone else’s values, read them in that order.
With every parameter at 0, is the output identical to the original?
Yes. With all four at 0 the active-filter readout says "none" and the output matches the original pixel for pixel, with no approximation. Temperature shifts channels between -100 (cooler/blue) and 100 (warmer/orange) by amount/100 × 60, which stays visible without blowing out highlights.
Can I use it as a desaturate tool, and what are the alpha and size limits?
Yes — pushing saturation to -100 fully desaturates, and it stays more flexible than the dedicated black-and-white tool because you can tune brightness, contrast and temperature at the same time. Alpha is preserved by default and is only forced opaque when you clear "Keep alpha"; the pixel limit is 16,000,000 and larger images stop with an error.
Keywords:image filterbrightnesscontrastsaturationcolor temperature