The camera uses CCD sensors to change analoglight
waves into digitalpixels.Each
pixel consists of 3 colors : red– green – blue(RGB). The intesity (brightness) of each color is stored as an 8-bit number (byte) between 0 and 255.That is 24 bits for
each pixel.The numbers are saved on a flash
memory card.A 5
megapixelcamera must store 24-bits x 5,000,000 = 15 MegaBytes per
photo.JPEGcompression squeezes this into a
smaller memory space.