For black&white pictures we need the following Information: width, height, and one bit per pixel: So a picture is , A picture is . A picture (3.8 Mio Pixel) is .
If we use a color palette of fixed colors (e.g. gray levels) out of 256 (1Byte), then we need one byte per pixel.
If we code the colors as RGB-values with 5bits (32 levels) per color, then we need 2 bytes (minus 1bit) per pixel.
If we code the colors as RGB-values with 8bits per color, then we need 3 bytes per pixel.
If we code the colors as RGB-values with 12bits per color (4096 levels), then we need 36bit=4.5bytes per pixel.
If we code the colors as RGB-values with 16bits per color (65536 levels), then we need 48bit=6bytes per pixel.
Andreas Kriegl 2003-07-23