Image Formats

Image Format describes how data related to the image will be stored. Data can be stored in compressed, Uncompressed or vector format. Each format of the image have a different advantage and disadvantage. Image types such a TIFF are good for printing while JPG or PNG, are best for web.

  • TIFF(.tif, .tiff)
    Tagged Image File Format this format store image data without losing any data. It do not perform any compression on images have a high-quality image is obtained but size of image is also large, which is good for printing, professional printing.
  • JPEG (.jpg, .jpeg)
    Joint Photographic Experts Group is a loss-prone (lossy) format in which data is lost to reduce size of image. Due to compression, some data is lost but that loss is very less. It is a very common format and are good for digital cameras, nonprofessional prints, E-Mail, Powerpoint etc., making it ideal for web use.

  • GIF (.gif)
    GIF or Graphics Interchange Format files are used for web graphics.They can be animated and are limited to only 256 colors, can allow for transparency. GIF files are typically small is size and are portable.



  • PNG (.png)
    PNG or Portable Network Graphics files are a lossless image format. It was designed to replace gif format as gif supported 256 colors unlike PNG which support 16 million colors.

  • Bitmap (.bmp)
    Bit Map Image file is developed by Microsoft for windows. It is same as TIFF due lossless, no compression property. Due to BMP being a proprietary format, it is generally recommended to use TIFF files.

  • EPS (.eps)
    Encapsulated PostScript file is a common vector file type. EPS files can be opened in applications such as Adobe Illustrator or CorelDRAW.

  • RAW Image Files (.raw, .cr2, .nef, .orf, .sr2)
    These Files are unprocessed created by a camera or scanner. Many digital SLR cameras can shoot in RAW, whether it be a .raw, .cr2, or .nef. Thes images are the equivalent of a digital negative, meaning that they hold a lot of image information. These images need to be processed in an editor such as Adobe Photoshop or Lightroom. It saves metadata and is used for photography.

What is meant by image saved with transparency?
Image saved with transparency look good on colored background whereas image without transparency will have a white background which will be visible on colored background.



My Personal Notes arrow_drop_up


If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.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.




Article Tags :
Practice Tags :


Be the First to upvote.


Please write to us at contribute@geeksforgeeks.org to report any issue with the above content.