Difference Between JPG, PNG & GIF image

When we download any image it has so much option to save it as PNG, JPG, GIF and dozen other file formats. But did you know the difference between this files? Let me tell you.

Difference Between JPG, PNG & GIF Picture

JPG Picture:
JPG format is a lossy compressed file in where you can store your photograph at a smaller size than a BMP. JPG supports up to 16.7 million colour which makes them the right choice for complex images and photographs For its compression it is a common choice for use on the web. But for storing line drawings, text, and iconic graphics at a smaller file size, GIF or PNG are better choices because they are lossless.

GIF Format:
Graphics Interchange Format better known as GIF supports up to 8 bit per pixel for each image and allowing a single image to reference its own palette of up to 256 different colours. GIF images are also compressed using the Lempel–Ziv–Welch (LZW) lossless data compression technique to reduce the file size without degrading the visual quality. GIF is a good choice for storing line drawings, text, and iconic graphics at a small file size.

PNG File:
Portable Network Graphics or PNG is a raster graphics file format that supports lossless data compression which means that they do not lose quality during editing. PNG supports 8-bit colour like GIF, but also supports 24-bit colour RGB, like JPG does. PNG is the most widely used lossless image compression format on the Internet.

JPEGs are for photographs and realistic images. PNGs are for line art, text-heavy images, and images with few colours. GIFs are just failed.

Share this post

Post Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.