EIT easy-image-tools / Dark pixel mask

Dark pixel mask

Selects pixels darker than the luminance threshold.

Nothing found — try another word.

01

Dark pixel mask

Nothing found — try another word.

Opacity
Luminance threshold

Nothing found — try another word.

Preview
Source
Drop a PNG here or click / paste (Ctrl+V) — processed locally
Result
no result yet

Dark pixel mask marks every pixel below a brightness threshold, using the same luminance measure the eye perceives — the dark counterpart of the light pixel mask. It is the way to find the shadow side of a photo, to see how much of an image is almost black, or to pull out the dark areas for separate editing. Lowering the threshold makes the mask grow, so it also covers midtones and any color that is simply deep. The mask is rendered in your browser and the image itself is never uploaded.

  • Runs entirely in your browser: no upload, no server, no signup.
  • Marks pixels below a luminance threshold — measures light, not hue.
  • Two views: a black and white mask, or a highlight over the original picture.
  • Lower the threshold and the mask grows into shadows and midtones.
  • Free with no daily limit, no watermark and no account, also for commercial use.

How to use it

  1. Drop the image into the source area, or pick a file from your device.
  2. Choose the view: a black and white mask, or a highlight over the original picture.
  3. Move the luminance threshold: lower values mark more pixels, including midtones.
  4. Set the highlight color and opacity, then download the mask.

Questions

How is brightness measured here?

By luminance, the same perceptual mix of red, green and blue that the light pixel mask uses, so the two tools split an image into bright and dark parts of the same scale.

What does the threshold mean?

The brightness level a pixel has to stay below to be marked, as a percentage. Zero marks only fully black pixels; raising it takes in shadows and then midtones.

Does it mark dark colors that are not black?

Yes. A deep blue is dark in luminance terms even though its blue channel is high, so it gets marked. The tool measures light, not hue.

Is the image uploaded?

No. Decoding, the threshold check and the mask rendering all happen in your browser tab. Your file is not sent anywhere and nothing is stored.

Related tools