View Jpg Vs Png Vs Gif Background. I know that png & gif are lossless, while jpeg is lossy. It is not good with sharp edges and tends to blur them a bit unless stored at high quality.

What is the Difference Between a JPG GIF TIFF PNG and EPS ...
What is the Difference Between a JPG GIF TIFF PNG and EPS ... from i.ytimg.com
It was originally designed as a better performing alternative to the classic graphics interchange format (gif), which was marred by several limitations. Jpg, png, gif, tiff, and most other photo files are rasters. Jpegs are a weak choice for images with high contrast.

One is best for easily sharing photographs without a huge file size, while the other is optimized for text and transparency without losing quality.

There are many differences between the two formats that make each better in different situations. The class of lossless formats is widely used for varied illustrations, text materials or different drawings. Pros & cons of using png. Gif files offer pretty good compression (better than jpeg) but they only support 256 colors.