Explore the actual numbers stored inside a digital image. Upload a picture or take a photo, then inspect the RGB values of its pixels.
Click anywhere on the image to inspect that pixel. The selected pixel is marked in the image.
These are the first 50 pixels in the image array, starting at the top-left corner. Each pixel contains four values in the browser's RGBA array.
| # | (x,y) | R | G | B | A |
|---|
The pixels around a selected pixel are not just random numbers. Their values are arranged according to their positions in the image. This local organization is part of the image's spatial structure.
The computer receives numbers, but those numbers have locations. If we rearranged the same numbers into different positions, we would create a different image.
The numbers matter — but their spatial arrangement matters too.