The most common format for an image file is known as a raster graphic. They take the form of a grid of pixels, each of which is assigned a unique color to represent the overall image. Raster graphics are used for the storage of both web graphics and digital photographs.
There are a few raster image formats that do not use any type of image compression, but the vast majority do.