Difference between JPEG and PNG
JPEG and PNG are two different types of format used to store the images.
JPEG:
It stands for Joint Photographic Experts Group. Extensions used to store image in this format are .jpg and .jpeg. It uses lossy compression algorithm, it means some of the image data is lost but image size is reduced.
PNG:
It stands for Portable Network Graphics. For PNG images extension used is .png. It uses lossless compression algorithm so image size is generally large.
Difference between JPEG and PNG:
| S.NO | JPEG | PNG |
|---|---|---|
| 1. | It stands for Joint Photographic Experts Group. | It stands for Portable Network Graphics. |
| 2. | It uses lossy compression algorithm. | It uses lossless compression algorithm. |
| 3. | Some of the image information is lost on decompression. | No image information is lost on decompression. |
| 4. | Image size is generally less. | Image size is large due to lossless compression algorithm. |
| 5. | It doesn’t support transparency in the images. | It supports transparency in the images. | 6. | Extensions used are .jpg and .jpeg. | Extension used is .png. |
| 7. | Mostly used in the photography. | It is mostly used in image creation. |
Recommended Posts:
- Difference between JPEG and GIF
- Difference between SVG and JPEG
- Difference between C and C++
- Difference between C and C#
- Difference between 1G and 2G
- Difference between LED and LCD
- Difference between CLI and GUI
- What's difference between MMU and MPU?
- Difference between Blu-ray and DVD
- Difference between OOP and POP
- Difference between MP4 and MP3
- Difference Between BFS and DFS
- Difference between RPC and RMI
- Difference between JSP and ASP
- Difference between ELT and ETL
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.

