Image format

                  Every graphic we see online is an image file. Most everything we see printed on paper, plastic or a t-shirt came from an image file. These files come in a variety of formats, and each is optimized for a specific use.

Types of Images :
  • Raster Images : These are Pixel based graphics and resolution dependent. Web graphics and photos are examples.
  1. JPEG (or JPG, Joint Photographic Experts Group).
  2. GIF (Graphics Interchange Format).
  3. PNG (Portable Network Graphics).
  4. TIFF (or TIF, Tagged Image File Format).
  5. BMP (Bitmap). 


  • Vector Images : These are curve based graphics (it uses lines and shapes) and resolution independent. Logos and icons are examples.
  1. SVG (Scalable Vector Graphics).
  2. PDF (Portable Document Format).
  3. EPS (Encapsulated PostScript).
  4. AI (Adobe Illustrator Artwork).


Image formats can be separated into Two broad categories :
lossy compression : 
  • Lossy compression formats are generally suited for photographs. If we saved an image in a lossy format over and over, the image quality would get progressively worse and worse.
  • It does not encode all the information of the file, so when it is recovered into an image, it will not be an exact representation of the original. However, it is able to compress images very effectively compared to lossless formats, as it discards certain information.
  • Example of a lossy compression format is JPEG.

lossless compression : 

  • Lossless compression formats are suited for illustrations, drawings and text.
  • It will encode all the information from the original, so when the image is decompressed, it will be an exact representation of the original. As there is no loss of information, it is not able to achieve as high a compression as lossy compression, in most cases. 
  • Examples of lossless image compression is PNG and GIF.

More information :