JPG vs PNG – Which format should I use?

Lesson 3 Chapter 1

It's important you understand the key differences between a JPG and PNG and when to use them. Below is a description of what each are and when to use one over the other.

  • JPGs are for photographs and realistic images. Lots and lots of colors! Like millions!
  • PNGs are for line art, text-heavy images, and images with few colors. PNG also allows for transparent backgrounds. Cartoony like graphics.

PNG format is a lossless compression file format, which makes it a common choice for use on the Web. PNG is a good choice for storing line drawings, text, and iconic graphics at a small file size. PNG is the only file format that allows you to have a transparent background.

JPG format is a lossy compressed file format. This makes it useful for storing photographs at a smaller size. JPG is a common choice for use on the Web because it is compressed.

Powered by Thrive Apprentice