Vector Graphics Markup Languages - 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:  Vector Graphics Markup Languages

Famous quotes containing the words image and/or file:

    No man hath any quarrel to me. My remembrance is very free and clear from any image of offence done to any man.
    William Shakespeare (1564–1616)

    I have been a soreheaded occupant of a file drawer labeled “Science Fiction” ... and I would like out, particularly since so many serious critics regularly mistake the drawer for a urinal.
    Kurt Vonnegut, Jr. (b. 1922)