Discuss various file formats available also differentiate between GIF, JPEG and PNG file format.
The two most popular file formats used for the web are GIF
and JPEG. Now, the third format PNG has become very popular in recent years.
GIF
The GIF
(Graphic Interchange format) is one of the most widely used format on the web.
The GIF format was developed by Compute Serve Corporation in 1987. It used
LZW(Lempel-Zif-Welch) compression algorithm to compress the data stored in each
file. It only supports 8-bit color. GIF images are recognized by .gif extension.
JPEG
JPEG (Joint
Photographic Experts Group) is another commonly used format on the web. Its
name has been derived from joint Photographic Experts Group, the organization
created the format in 1990.It supports 24-bit colors information which is more
than what human eyes can see.JPEG images usually have .jpg extension.
PNG
PNG (Portable
Network Graphics) is becoming the most popular format on web in recent years.
It was developed as an enhanced alternative to GIF format. PNG images have .PNG extension. PNG support 24-bit
colored images and produce background transparency without jagged edges. It
provides support for 2-D progressive
rendering which is based on pixels than lines. It makes the appearances of PNG
image faster as compared to others.
DIFFERENCE BETWEEEN GIF, JPEG AND PNG
|
GIF
|
JPEG
|
PNG
|
1
2
3
4
5
|
Stands for Graphic Interchange Format
Uses Lossless compression technique
Supports 8 bit colors
Suitable for text, artwork, icons and
cartoons.
Extension is .gif
|
Stands for Joint Photographic Experts
Group
Uses lossy compression technique.
Supports 24-bit colors
Suitable for photographs
Extension is .jpg or .jpeg
|
Stands for Portable Network Graphics.
Uses lossless compression technique
Supports 24-bit colors
Suitable for text, icons etc.
Extension is .png
|
Comments
Post a Comment