Categorization Of Images.
Images can be broadly divided into three major categories based on the criteria of compression:
2- Lossy compression.
3- Lossless compression.
Uncompressed Images: These images have the utmost amount of data and details in it. They are exactly the original file that means that they are not compressed. they are served as they are.
Example: BMP (Bitmap, we will discuss this in later on).
Lossy Compression: In this category of image format, the image data is compressed. In technical terms, we can say that it does not encode all the information of the file. Best used for photographs.
Lossy is a computing term related to data compression in which unnecessary information is discarded.
Example: JPEG(Joint Photographic Experts Group). Almost all digital cameras have the capability to save images in this format.
Lossless Compression: Lossless compression is one in which all the details are encoded resulting in the increase of the file size. Best used for illustrations, text, drawings
So, let’s discuss Why and what they are meant for?
BMP: It Symbolises BITMAP.it’s under the category of uncompressed format. It holds the maximum amount of data with the utmost file size.It’s an old format. BITMAP images are resolution dependent.
Resolution refers to the number of pixels in an image.
JPEG: It stands for Joint Photographic Experts Group. JPEG is a standardized image compression mechanism.It falls under the category of lossy compression.
JPEG’s use a compression method that removes colors(which are beyond the limits of the human eye) from images to decrease file sizes.
The extension used is .jpg.
GIF: It stands for Graphics Interchange Format. It falls under the category of Lossless compression.
It is an 8-bit file format which means that it can use only an utmost of 256 colors.It also supports transparency.
GIF’s can be animated too which is nothing but a series of separate GIF’s joined together to produce animation.
GIF’s have the capability of loading in segments just like jpegs on a web page. These images are known as Interlace gifs.
The extension used is .gif.
Interlacing is a method of encoding bitmap image such that the person who has partially received it sees a degraded copy of the entire image. -Wikipedia.
PNG: It symbolizes Portable Network Graphics format.It is pronounced as PING.PNG can be confused as an enhanced version of GIF.PNG’s are a better alternative of gifs.
Like GIF’s PNG’s also support interlacing. PNG’s loads twice as fast as compared to GIF’s because it uses a two dimensional interlacing system.It also facilitates us with a facility of variable transparency that means, that to which extent we want it to be transparent.PNG has two formats. one is PNG-8 and another one is PNG-24.
PNG-8: It is an indexed version of PNG. It supports Alpha-transparency.
“Alpha-Transparency: Every color in a graphic has an alpha channel value to indicate how transparent it is (i.e. the degree of opacity). Alpha transparency is a way to support grades of opacity in continuum”.
PNG-24: PNG-24 is a direct version of PNG. it supports thousands of colors. just like PNG-8 also supports alpha transparency.
The extension used is .png.
SVG: Scalable Vector Graphics (SVG) is a text-based graphics language that describes images with vector shapes, text, and embedded raster graphics.
The extension for this is .svg.
Which to use and when?
JPEG: JPEG serves best when used in real-world photographs.Because it supports 16 million colors, so go for it when you have to showcase a wide variety of colors.
GIF: Serves best when used in illustrations, logos. It’s little outdated but is still in use because of it’s a feature of animated gifs.
PNG: Use it when you have to use the feature of transparency. Great for logos.
SVG: use it when you have to use high-quality graphics without losing its details having minimum file size.
What is meant by RGB and CMYK?
RGB and CMYK are color modes.
RGB: RGB stands for RED, GREEN And BLUE.It is an additive type of color scheme which combines these primary colors- Red, Green and Blue in various degrees to generate a wide variety of colors.
CMYK: CMYK stands for CYAN, MAGENTA, YELLOW, and BLACK. It is a subtractive type of color mode.
Which to use and when?
Use RGB color mode when the output image is meant for soft purposes only that is only for gadgets and systems while use CMYK color mode when the output has to be in printed form.
Being in a technology infused era where Images are a prominent part of our daily lives, it becomes important to know about images and their file formats.I hope that this article and their corresponding images will surely add some values to your information level.
If you find it worthy then do leave your feedback by commenting below because communication is a two-way process and is not complete without feedback. Would love to know your views.
have great time folks. Keep Visiting, Stay Informed. 🙂 🙂