The Wayback Machine - https://web.archive.org/web/20240805104058/https://www.geeksforgeeks.org/image-formats/
Open In App

Image Formats

Last Updated : 08 Mar, 2024
Comments
Improve
Suggest changes
Like Article
Like
Save
Share
Report

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 has a different advantage and disadvantage. Image types such as TIFF are good for printing while JPG or PNG, are best for the web.

  • TIFF(.tif, .tiff): Tagged Image File Format this format store image data without losing any data. It does not perform any compression on images, and a high-quality image is obtained but the size of the image is also large, which is good for printing, and professional printing.
  • JPEG (.jpg, .jpeg): Joint Photographic Experts Group is a loss-prone (lossy) format in which data is lost to reduce the size of the image. Due to compression, some data is lost but that loss is very less. It is a very common format and is 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, which can allow for transparency. GIF files are typically small in 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.
  • WebP: Basically Google created WebP to replace JPEG as the standard format for images on the web by shrinking image files to expedite the loading of online pages. Also WebP employs a RIFF-based container which is based on the intra-frame coding of VP8.
  • HEIF (High Efficiency Image File Format): A High Efficiency Image File Format or HEIF is an image container format which was standardized by MPEG on the basis of the ISO base media file format to solve some problems. The HEIF standard specifies the storage of HEVC intra-coded images and HEVC-coded image sequences that make use of inter-picture prediction, even though HEIF can be used with any image compression method as per requirement.
  • AVIF (AV1 Image File Format): In order to benefit from contemporary compression algorithms and an entirely royalty-free image format, the video consortium Alliance for Open Media (AO Media), which created the video format Av1, standardized the AV1 Image File Format (AVIF) to process the needful technology. It employs the AVIF-coded picture format and also suggests utilizing the HEIF container.
  • Bitmap (.bmp) Bit Map Image file is developed by Microsoft for windows. It is same as TIFF due to 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 and created by a camera or scanner. Many digital SLR cameras can shoot in RAW, whether it be a .raw, .cr2, or .nef. These 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 Image Saved With Transparency?

Images saved with transparency look good on colored background whereas images without transparency will have a white background which will be visible on colored background. Image Saved With Transparency


Previous Article
Next Article

Similar Reads

SIM Card Formats
Nowadays, everyone has mobile phone. People need sim card which is known as subscriber identity module cards or subscriber identification module card so that they are able to connect to mobile phones, make calls, send SMS, use internet connection, etc. Formats of SIM cards : SIM cards are available in 5 formats. These are: full SIM format, mini SIM
3 min read
Image Processing in Java - Colored Image to Grayscale Image Conversion
Prerequisites: Image Processing in Java - Read and WriteImage Processing In Java - Get and set PixelsIn this article, we will be converting a colored image to a grayscale image. RGB Color Model - The RGB color model is an additive mixing model in which red, green, and blue light are added together in various ways to reproduce a broad array of color
3 min read
Image Processing in Java - Colored image to Negative Image Conversion
Prerequisites: Image Processing in Java - Read and WriteImage Processing In Java - Get and Set PixelsImage Processing in Java - Colored image to Grayscale Image Conversion In this set, we will be converting a colored image to a negative image. Colored Image (RGB Color Model) - The RGB color model is an additive mixing model in which red, green, and
3 min read
Image Processing in Java - Colored Image to Sepia Image Conversion
Prerequisites: Image Processing in Java - Read and WriteImage Processing In Java - Get and Set PixelsImage Processing in Java - Colored Image to Grayscale Image ConversionImage Processing in Java - Colored Image to Negative Image ConversionImage Processing in Java - Colored to Red Green Blue Image Conversion In this set, we will be converting a col
3 min read
Mahotas - Labelled Image from the Normal Image
In this article we will see how we can create a labelled image from the normal image in mahotas. For this we are going to use the fluorescent microscopy image from a nuclear segmentation benchmark. We can get the image with the help of command given below mahotas.demos.nuclear_image() Below is the nuclear_image Labelled images are integer images wh
2 min read
Image processing with Scikit-image in Python
scikit-image is an image processing Python package that works with NumPy arrays which is a collection of algorithms for image processing. Let's discuss how to deal with images in set of information and its application in the real world. Important features of scikit-image : Simple and efficient tools for image processing and computer vision techniqu
2 min read
MATLAB | RGB image to grayscale image conversion
An RGB image can be viewed as three images( a red scale image, a green scale image and a blue scale image) stacked on top of each other. In MATLAB, an RGB image is basically a M*N*3 array of colour pixel, where each colour pixel is a triplet which corresponds to red, blue and green colour component of RGB image at a specified spatial location. Simi
4 min read
MATLAB | Converting a Grayscale Image to Binary Image using Thresholding
Thresholding is the simplest method of image segmentation and the most common way to convert a grayscale image to a binary image.In thresholding, we select a threshold value and then all the gray level value which is below the selected threshold value is classified as 0(black i.e background ) and all the gray level which is equal to or greater than
3 min read
Image Edge Detection Operators in Digital Image Processing
Edges are significant local changes of intensity in a digital image. An edge can be defined as a set of connected pixels that forms a boundary between two disjoint regions. There are three types of edges: Horizontal edgesVertical edgesDiagonal edges Edge Detection is a method of segmenting an image into regions of discontinuity. It is a widely used
4 min read
Convert Text Image to Hand Written Text Image using Python
In this article, we are going to see how to convert text images to handwritten text images using PyWhatkit, Pillow, and Tesseract in Python. Module needed: Pytesseract: Sometimes known as Python-tesseract, is a Python-based optical character recognition (OCR) program. It can read and recognize text in photos, license plates, and other documents. To
2 min read
Practice Tags :
three90RightbarBannerImg