Eksempler
One pure red pixel
Du skriver inn
- Bilde
- 1 × 1 pixel, colour 255, 0, 0
Du får
- Rød
- gruppe 1 og 16 inneholder 1 hver
- Grønn
- Gruppe 13 inneholder 1
- Blå
- group 1 holds 1
- Luminans
- group 4 holds 1
- Ugjennomsiktige piksler kontrollert
- 1
Each channel is split into 16 groups of 16 levels. A red value of 255 lands in the top group, and green and blue at 0 in the bottom one. Luminance is 0.2126 times 255, about 54, which falls in group 4.
Kjørt med verktøyets egen kode.
One black pixel and one white pixel
Du skriver inn
- Bilde
- 2 × 1 pixels: 0, 0, 0 and 255, 255, 255
Du får
- Rød
- groups 1 and 16 hold 1 each
- Grønn
- groups 1 and 16 hold 1 each
- Blå
- groups 1 and 16 hold 1 each
- Luminans
- groups 1 and 16 hold 1 each
- Ugjennomsiktige piksler kontrollert
- 2
Black fills the lowest group of every channel and white fills the highest. A real photo with strong shadows and highlights shows tall bars at both ends in the same way.
Kjørt med verktøyets egen kode.
A see-through pixel is skipped
Du skriver inn
- Bilde
- 2 × 1 pixels: green with 100 out of 255 opacity, and the same green fully opaque
Du får
- Ugjennomsiktige piksler kontrollert
- 1
- Grønn
- group 13 holds 1
Pixels with an alpha value below 128 are ignored, so the first pixel is not counted. Only the opaque one is, and it shows in the green channel.
Kjørt med verktøyets egen kode.
Pressing the button with no file
Du får
- Melding
- Check the entered values.
The tool needs a file before it can count anything, and with none chosen it shows this general message rather than a specific one. If a file is chosen but the browser cannot open it as a picture, the message is "The image could not be read." instead.
Ikke kjørt med verktøyet. Se på dette som en illustrasjon.