Image File Format

Width: 1 byte
Height: 1 byte
Bits per Pixel: 1 byte
n bits of pixel data

n = Width * Height * Bits per Pixel

This larger image of a bee encodes color with 12 bits per pixel, but viewing in hex makes it easier to see the color of each pixel. If you switch to binary mode - hold on to your hat - it's a lot of bits. Here's another mind-blowing thing to try: slide the bits per pixel up to 24 bits per pixel. What happens? Can you explain this behavior?