JPEG vs PNG
People think PNG is just a better JPEG, and it is not. JPEG makes photos small by dropping detail you rarely see. PNG keeps every pixel and can have see-through parts. Use JPEG for photos, and PNG for logos, screenshots and text.
Joint Photographic Experts Group (JPEG)
The usual file type for photos. The files are small, but a bit of detail is lost.
JPEG is the most common file format for photos. It shrinks files by throwing away fine detail the eye is unlikely to notice. This is called lossy compression. You choose how much to throw away, so the file can be small or high quality. JPEG has no see-through parts, and it smudges sharp edges such as text.
Portable Network Graphics (PNG)
A picture file that keeps each pixel just as it was. It can have clear parts.
PNG is an image file format that keeps every pixel exactly. Its compression is lossless, so nothing is thrown away. It supports see-through parts through an alpha channel. That makes it good for logos, icons and screenshots with sharp text. For photos, PNG files are much bigger than JPEG files.
In one line
- Joint Photographic Experts Group (JPEG)
- The usual file type for photos. The files are small, but a bit of detail is lost.
- Portable Network Graphics (PNG)
- A picture file that keeps each pixel just as it was. It can have clear parts.