Why your digital photos are actually just a massive grid of tiny colored squares

Why your digital photos are actually just a massive grid of tiny colored squares
Image: Intellect (generated)

In short: Raster graphics are the foundation of modern digital imagery, from the photos on your phone to the websites you browse daily. By arranging millions of tiny, uniform pixels into a precise grid, these images capture subtle color gradations that mathematical vector shapes simply cannot replicate. Here is how they work.

At its core, a raster graphic is a two-dimensional array of pixels—short for picture elements. The term itself traces back to the Latin word for a rake, reflecting the way early television cathode-ray tube monitors drew images line by line using an electron beam. Today, this grid-based structure remains the standard for representing continuous-tone images like photographs, where the goal is to capture complex, subtle color transitions.

The fidelity of a raster image is defined by two primary factors: resolution and color depth. Resolution refers to the total number of pixels in the grid, often expressed as columns multiplied by rows. Color depth, meanwhile, dictates how much information is stored for each individual pixel. A simple black-and-white image might use just one bit per pixel, while "truecolor" images typically use 24 bits, allowing for over 16 million distinct color possibilities.

Because high-resolution grids require massive amounts of data, compression is essential for practical use. Formats like JPEG use lossy compression, which approximates pixel values to save space, while formats like TIFF or BMP use lossless methods to preserve every detail. Unlike vector graphics, which rely on mathematical equations to define shapes and remain infinitely scalable, raster images are fixed in their dimensions. Resizing them often leads to distortion or blurring, as the grid itself must be stretched or interpolated.

While raster graphics were largely confined to expensive, specialized workstations during the 1970s and 1980s, the rapid improvement of personal computer capabilities in the 1990s brought them into the mainstream. Today, they are the dominant format for digital photography and web content, serving as the digital equivalent of a mosaic where every individual tile holds a specific piece of the larger visual puzzle.

Opens the Intellect+ feed with this card first. Swipe up for the next one.

Sources

To cite this card, link to https://intellectplus.co.uk/app/art-raster-graphics.

How we source, check and correct cards: Editorial standards.

General information, not professional advice. Spotted an error? Flag the card or see corrections and complaints.

Intellect Plus is a visual educational discovery platform for exploring fascinating facts and ideas. Brain Food, Not Brain Rot. What is Intellect Plus?

Related

Finding something worth knowing…