Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>As a general rule, PNG is never worse, and often better than GIF because of superior compression. There might be some edge cases where GIF is slightly better (because the PNG format may have a slightly larger overhead from metadata) but it's really not worth the worry.</p> <blockquote> <p>It may just be the tools I'm using, but GIF files usually seem to be a bit smaller than a comparible PNG</p> </blockquote> <p>That may indeed be due to the encoding tool you use.</p> <p>/EDIT: Wow, there seem to be a lot of misconceptions about PNG file size. To quote Matt:</p> <blockquote> <p>There's nothing wrong with GIFs for images with few colours, and as you have noticed they tend to be smaller.</p> </blockquote> <p>This is a typical encoding mistake and not inherent in the format. You can control the colour depth and make the PNG file as small. Please refer to the <a href="http://en.wikipedia.org/wiki/Portable_Network_Graphics#File_size_and_optimization_software" rel="noreferrer">relevant section</a> in the Wikipedia article.</p> <p>Also, lacking support in MSIE6 is blown out of proportion by Chrono:</p> <blockquote> <p>If you need transparency and can get by with GIFs, then I'd recommend them because IE6 supports them. IE6 doesn't do well with transparent PNGs. </p> </blockquote> <p>That's wrong. MSIE6 <em>does</em> support PNG transparency. It doesn't support the alpha channel (without a few hacks), though but this is a different matter since GIFs don't have it at all.</p> <p>The <em>only</em> technical reason to use GIFs instead of PNGs is when use need animation and don't want to rely on other formats.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload