Web designers are always used to putting images on to web pages. But how do they decide as to which format the image must be in? Basically there are three major types of image formats that are supported by all the web browsers. These formats are,
JPEG GIF PNG
JPEG is the abbreviation for Joint Photographic Experts Group, the organization that developed the JPEG format. JPEG images are mostly used when the images have millions of colors. JPEG is also recommended for all photographs. It is also best suited during a lousy compression.
What is a lousy compression? Well by definition a lousy compression is method when data is compressed with some loss of image information. By first compressing data and then decompressing of retrieved data we can find that it is different from the original, but just enough to be useful in some way. It is recommended not to use the JPEG format when we have an image with clear edges as these might look blurry when compress it. If there are images with text it is best to avoid the JPEG format.
What about GIF (Graphic Interchange Format)? It is best suited when the colors used are less in number as it displays only 256 unique colors. Photographs saved in the GIF format can look pix elated and are thus not to be preferred. The PNG format developed as a replacement for the GIF format to avoid royalty fee. PNG being like GIF is not much suited for photographs. However the advantage is that PNG formats offer loss less compression.
Some of the other major image formats are TIFF, PPM, PGM, PBM, PNM and SVG.