Image File Formats - Image File Sizes

Image File Sizes

Generally speaking, in raster images, Image file size is positively correlated to the number of pixels in an image and the color depth, or bits per pixel, of the image. Images can be compressed in various ways, however. Compression uses an algorithm that stores an exact representation or an approximation of the original image in a smaller number of bytes that can be expanded back to its uncompressed form with a corresponding decompression algorithm. Considering different compressions, it is common for two images of the same number of pixels and color depth to have a very different compressed file size. Considering exactly the same compression, number of pixels, and color depth for two images, different graphical complexity of the original images may also result in very different file sizes after compression due to the nature of compression algorithms. With some compression formats, images that are less complex may result in smaller compressed file sizes. This characteristic sometimes results in a smaller file size for some lossless formats than lossy formats. For example, simple images may be losslessly compressed into a GIF or PNG format and result in a smaller file size than a lossy JPEG format.

Vector images, unlike raster images, can be any dimension independent of file size. File size increases only with the addition of more vectors.

Read more about this topic:  Image File Formats

Famous quotes containing the words image and/or file:

    The true picture of the past flits by. The past can be seized only as an image which flashes up at the instant when it can be recognized and is never seen again.
    Walter Benjamin (1892–1940)

    A common and natural result of an undue respect for law is, that you may see a file of soldiers, colonel, captain, corporal, privates, powder-monkeys, and all, marching in admirable order over hill and dale to the wars, against their wills, ay, against their common sense and consciences, which makes it very steep marching indeed, and produces a palpitation of the heart.
    Henry David Thoreau (1817–1862)