Welcome to Shaun Luttin's public notebook. It contains rough, practical notes. The guiding idea is that, despite what marketing tells us, there are no experts at anything. Sharing our half-baked ideas helps everyone. We're all just muddling thru. Find out more about our work at bigfont.ca.

PNG vs JPG

Tags: images, web-development

JPGs

  • Photographs
  • Landscapes
  • Faces

JPGs are “lossy,” which means they throw away aspects of the image that the human eye won’t see. The JPG “Quality” determines how much of the image is discarded.

PNGs

  • Charts
  • Graphs
  • Screenshots
  • Cartoons

PNGs are “lossless,” which means they keep all aspects of the image, include those that the human eye might not see. The can also contain “transparent” regions.

GIFs

  • Cartoons
  • Sparingly

Use JPGs for photographs, landscapes, and faces. Use PNGs for charts, graphs, screenshots and cartoons. Use GIFs only for animations, and sparingly. ~ Scott Hanselman

See

http://www.hanselman.com/blog/BloggersKnowWhenToUseAJPGAndWhenToUseAPNGAndAlwaysSquishThemBoth.aspx