

RGB values in [0,1]
black = (0,0,0), white = (1,1,1), red = (1,0,0) etc → forms a color space!
LDR storage
8 bits / color channel (0 to 255) → most used, sufficient if it is implemented right! BUT if we modify images, we would want more precision hence, 16bits.
16 bits / color channel (0 to 65536)

HDR storage
16-bit float (half)
32-bit float
Interleaved Storage

Separate Channels

BMP : Bitmap Image File
PPM : Portable Pixmap Image File