PNG vs JPG

http://live.pirillo.com/ – What’s better: PNG and JPG? The truth is that these formats actually serve two difference purposes. JPG caters to the photographic market, whereas PNG is generally considered to be a replacement for the patent-encumbered GIF format.

According to Webopedia, JPEG is:

Short for Joint Photographic Experts Group, the original name of the committee that wrote the standard. JPG is one of the image file formats supported on the Web. JPG is a lossy compression technique that is designed to compress color and grayscale continuous-tone images. The information that is discarded in the compression is information that the human eye cannot detect. JPG images support 16 million colors and are best suited for photographs and complex graphics.

And PNG:

Short for Portable Network Graphics, the third graphics standard supported by the Web. PNG was developed as a patent-free answer to the GIF format but is also an improvement on the GIF technique. An image in a lossless PNG file can be more compressed than a GIF file of the same image. PNG builds on the idea of transparency in GIF images and allows the control of the degree of transparency, known as opacity. Saving, restoring and re-saving a PNG image will not degrade its quality. PNG does not support animation like GIF does.

6 thoughts on “PNG vs JPG”

  1. PNG’s lossless compression is better than JPEG’s “lossy” compression, which degrades an image each time you save it. And PNG quality is much better than GIF’s. The PNG standards were established in 1996, and we’d all be using PNG images in our web pages by now if some weren’t so slow to support it … especially its excellent transparency features.

    The definitive resource on PNG, in my opinion, is here:

    http://www.libpng.org/pub/png/

  2. png is lossless, jpeg is lossy. That cameras often save in jpeg format isn’t really relevant to the question of which is better. jpeg is the format you use when you’re done fooling with an image, while you’re working with it it should be in a lossless format of some kind. In keeping with that it seems foolish for cameras to save in jpeg format, no?

  3. anonymous – May 18, 2007 @ 8:32 am is very enlightening. thank you for that viewpoint on when to use these file types. i salute you.

  4. jpg files are for MS paint when you make on it has poor quality because it made from small pixel block png files are good and picures display normal instead of crappy

Comments are closed.