JPEG and GIF are two different types of format used to store the images.
JPEG stands for Joint Photographic Experts Group. .jpg and .jpeg extensions are used to store image in this format. It uses lossy compression algorithm, it means some of the image data is lost.
GIF stands for Graphics Interchange Format. For GIF extension used is .gif. It uses lossless compression algorithm. GIF is generally smaller in size and supports animation & transparency.
Difference between JPEG and GIF:
|It stands for Joint Photographic Experts Group.||It stands for Graphics Interchange Format.|
|It uses lossy compression algorithm.||It uses lossless compression algorithm.|
|Some of the image information is lost on decompression.||No image information is lost on decompression.|
|It supports 16 million colors.||It supports only 256 colors.|
|It doesn’t support transparency in the images.||It supports single bit transparency in the images.||Extensions used are .jpg and .jpeg.||Extension used is .gif.|
|Mostly used in the photography.||It is mostly used in computer generated images and logos.|
|It doesn’t supports animation.||It supports animation.|
- Difference between JPEG and PNG
- Difference between SVG and JPEG
- Difference between JPEG and Bitmap
- Difference between JPEG and PSD
- Difference between PNG and GIF
- Process Of JPEG Data compression
- Compression of GIF images
- Difference and Similarities between PHP and C
- Difference between Stop and Wait protocol and Sliding Window protocol
- Similarities and Difference between Java and C++
- Difference between Yaacomo and and XAP
- Difference between VoIP and and POTS
- Difference between ++*p, *p++ and *++p
- Difference Between DOS and Windows
- Difference between User Level thread and Kernel Level thread
- What’s difference between The Internet and The Web ?
- Difference between Priority Inversion and Priority Inheritance
- What’s difference between Linux and Android ?
- What’s difference between header files "stdio.h" and "stdlib.h" ?
- Difference between HTML and HTTP
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to firstname.lastname@example.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.