Comment 3 for bug 889889

Revision history for this message
Aleksander Śmierciak (aleksander-smierciak) wrote :

Christopher:
SVG is scalable, so it is something way different than the other two formats - and perhaps a solution to problems with pixelated icons as can be commonly seen when icon of proper size is missing (and smaller is inputed instead).
PNG has better compresion than GIF.

On most images, except for some cases of small images, GIF will be bigger than indexed PNG.
PNG has much more transparency options (alpha channel included).
GIF is limited to 8-bit indexed color, while PNG gives a much wider range of color depths, including 24-bit (8 bits per channel) and 48-bit (16 bits per channel) truecolor. Add alpha channel to this and you have up to 64 bits per pixel (before compression).
GIF supports animated images, but I can hardly imagine where in system could we find a need for animated GIFs.

And as an interesting fact (not really an argument, since it concerns the Web) GIF images render slower than PNG images do, as was stated by W3C.