An image file format is a
file format
A file format is a Computer standard, standard way that information is encoded for storage in a computer file. It specifies how bits are used to encode information in a digital storage medium. File formats may be either proprietary format, pr ...
for a digital image. There are many formats that can be used, such as
JPEG
JPEG ( , short for Joint Photographic Experts Group and sometimes retroactively referred to as JPEG 1) is a commonly used method of lossy compression for digital images, particularly for those images produced by digital photography. The degr ...
,
PNG, and
GIF
The Graphics Interchange Format (GIF; or , ) is a Raster graphics, bitmap Image file formats, image format that was developed by a team at the online services provider CompuServe led by American computer scientist Steve Wilhite and released ...
. Most formats up until 2022 were for storing 2D images, not 3D ones. The data stored in an image file format may be compressed or uncompressed. If the data is compressed, it may be done so using
lossy compression
In information technology, lossy compression or irreversible compression is the class of data compression methods that uses inexact approximations and partial data discarding to represent the content. These techniques are used to reduce data size ...
or
lossless compression
Lossless compression is a class of data compression that allows the original data to be perfectly reconstructed from the compressed data with no loss of information. Lossless compression is possible because most real-world data exhibits statisti ...
. For graphic design applications,
vector
Vector most often refers to:
* Euclidean vector, a quantity with a magnitude and a direction
* Disease vector, an agent that carries and transmits an infectious pathogen into another living organism
Vector may also refer to:
Mathematics a ...
formats are often used. Some image file formats support
transparency.
Raster formats are for
2D images. A 3D image can be represented within a 2D format, as in a
stereogram or
autostereogram, but this 3D image will not be a true
light field
A light field, or lightfield, is a vector-valued function, vector function that describes the amount of light flowing in every direction through every point in a space. The space of all possible ''light rays'' is given by the Five-dimensional space ...
, and thereby may cause the
vergence-accommodation conflict
Vergence-accommodation conflict (VAC), also known as accommodation-vergence conflict, is a visual phenomenon that occurs when the brain receives mismatching cues between vergence and accommodation of the eye. This commonly occurs in virtual rea ...
.
Image
files are composed of digital data in one of these formats so that the data can be displayed on a digital (computer) display or printed out using a printer. A common method for displaying digital image information has historically been
rasterization
In computer graphics, rasterisation (British English) or rasterization (American English) is the task of taking an image described in a vector graphics format (shapes) and converting it into a raster image (a series of pixels, dots or lines, whic ...
.
Image file sizes
The size of raster image files is positively correlated with the number of pixels in the image and the color depth (bits per pixel). Images can be compressed in various ways, however. A compression
algorithm
In mathematics and computer science, an algorithm () is a finite sequence of Rigour#Mathematics, mathematically rigorous instructions, typically used to solve a class of specific Computational problem, problems or to perform a computation. Algo ...
stores either an exact representation or an approximation of the original image in a smaller number of bytes that can be expanded back to its uncompressed form with a corresponding decompression algorithm. Images with the same number of pixels and color depth can have very different compressed file sizes. Considering exactly the same compression, number of pixels, and color depth for two images, different graphical complexity of the original images may also result in very different file sizes after compression due to the nature of compression algorithms. With some compression formats, images that are less complex may result in smaller compressed file sizes. This characteristic sometimes results in a smaller file size for some lossless formats than lossy formats. For example, graphically simple images (i.e., images with large continuous regions like line art or animation sequences) may be losslessly compressed into a GIF or PNG format and result in a smaller file size than a lossy JPEG format.
For example, a 640480 pixel image with 24-bit color would occupy almost a megabyte of space:
:64048024 = 7,372,800 bits = 921,600 bytes = 900
KiB
With vector images, the file size increases only with the addition of more vectors.
Image file compression
There are two types of
image file compression algorithms:
lossless
Lossless compression is a class of data compression that allows the original data to be perfectly reconstructed from the compressed data with no loss of information. Lossless compression is possible because most real-world data exhibits statisti ...
and
lossy
In information technology, lossy compression or irreversible compression is the class of data compression methods that uses inexact approximations and partial data discarding to represent the content. These techniques are used to reduce data size ...
.
Lossless compression algorithms reduce file size while preserving a perfect copy of the original uncompressed image. Lossless compression generally, but not always, results in larger files than lossy compression. Lossless compression should be used to avoid accumulating stages of re-compression when editing images.
Lossy compression algorithms preserve a representation of the original uncompressed image that may appear to be a perfect copy, but is not a perfect copy. Often lossy compression is able to achieve smaller file sizes than lossless compression. Most lossy compression algorithms allow for variable compression that trades image quality for file size.
Major graphic file formats
File:Image_formats_by_scope.svg, center, upright=3, Categorization of common image file formats by scope (''imagemap'')
rect 26 4 94 28 Digital photography
Digital photography uses cameras containing arrays of electronic photodetectors interfaced to an analog-to-digital converter (ADC) to produce images focused by a lens, as opposed to an exposure on photographic film. The digitized image is ...
rect 241 8 322 33 Image editing
Image editing encompasses the processes of altering images, whether they are Digital photography, digital photographs, traditional Photographic processing, photo-chemical photographs, or illustrations. Traditional analog image editing is known ...
rect 432 4 498 28 Digital art
Digital art, or the digital arts, is artistic work that uses Digital electronics, digital technology as part of the creative or presentational process. It can also refer to computational art that uses and engages with digital media. Since the 1960 ...
rect 5 132 51 156 Raster graphics
upright=1, The Smiley, smiley face in the top left corner is a raster image. When enlarged, individual pixels appear as squares. Enlarging further, each pixel can be analyzed, with their colors constructed through combination of the values for ...
rect 456 132 508 156 Vector graphics
Vector graphics are a form of computer graphics in which visual images are created directly from geometric shapes defined on a Cartesian plane, such as points, lines, curves and polygons. The associated mechanisms may include vector displ ...
rect 241 265 322 289 Publishing
Publishing is the activities of making information, literature, music, software, and other content, physical or digital, available to the public for sale or free of charge. Traditionally, the term publishing refers to the creation and distribu ...
rect 240 128 323 154 Image file format
An image file format is a file format for a digital image. There are many formats that can be used, such as JPEG, PNG, and GIF. Most formats up until 2022 were for storing 2D images, not 3D ones. The data stored in an image file format may be co ...
rect 5 34 112 64 Raw image format
A camera raw image file contains unprocessed or minimally processed data from the image sensor of either a digital camera, a motion picture film scanner, or other image scanner. Raw files are so named because they are not yet processed, ...
rect 117 56 158 99 EXR file
OpenEXR is a high-dynamic range, multi-channel raster file format, released as an open standard along with a set of software tools created by Industrial Light & Magic (ILM), under a free software license similar to the BSD license.
It is notab ...
rect 172 41 205 96 GIMP
Gimp or GIMP may refer to:
Clothing
* Bondage suit, also called a gimp suit, a type of suit used in BDSM
* Bondage mask, also called a gimp mask, often worn in conjunction with a gimp suit
Embroidery and crafts
* Gimp (thread), an ornamental tr ...
rect 211 40 261 96 Adobe Photoshop
Adobe Photoshop is a raster graphics editor developed and published by Adobe Inc., Adobe for Microsoft Windows, Windows and macOS. It was created in 1987 by Thomas Knoll, Thomas and John Knoll. It is the most used tool for professional digital ...
rect 268 40 313 96 Krita
Krita ( ) is a free and open-source software, free and open-source raster graphics editor designed primarily for digital art and 2D animation. Originally created for Linux, the software also runs on Windows, macOS, Haiku (operating system), Hai ...
rect 318 40 368 96 Adobe Illustrator
Adobe Illustrator is a vector graphics editor and Computer-aided design, design software developed and marketed by Adobe Inc., Adobe. Originally designed for the Apple Inc., Apple Mac (computer), Macintosh, development of Adobe Illustrator began ...
rect 375 40 429 95 Inkscape
Inkscape is a vector graphics editor. It is used for both artistic and technical illustrations such as cartoons, clip art, logos, typography, diagrams, and flowcharts. It uses vector graphics to allow for sharp printouts and renderings at ...
rect 436 40 485 96 Adobe InDesign
Adobe InDesign is a desktop publishing and page layout designing software application software, application produced by Adobe Inc., Adobe and first released in 1999. It can be used to create works such as posters, flyers, brochures, magazines, ...
rect 29 72 66 117 High Efficiency Image File Format
High Efficiency Image File Format (HEIF) is a digital container format for storing individual digital images and image sequences. The standard covers multimedia files that can also include other media streams, such as timed text, audio and vid ...
rect 73 72 112 242 JPEG
JPEG ( , short for Joint Photographic Experts Group and sometimes retroactively referred to as JPEG 1) is a commonly used method of lossy compression for digital images, particularly for those images produced by digital photography. The degr ...
rect 118 108 157 163 TIFF
Tag Image File Format or Tagged Image File Format, commonly known by the abbreviations TIFF or TIF, is an image file format for storing raster graphics images, popular among graphic artists, the publishing industry, and photographers. TIFF is w ...
rect 28 249 67 271 GIF
The Graphics Interchange Format (GIF; or , ) is a Raster graphics, bitmap Image file formats, image format that was developed by a team at the online services provider CompuServe led by American computer scientist Steve Wilhite and released ...
rect 73 250 112 284 WebP
WebP is a raster graphics file format developed by Google intended as a replacement for JPEG, PNG, and GIF file formats. It supports both lossy and lossless compression, as well as animation and alpha transparency.
Google announced the WebP ...
rect 119 236 157 283 AVIF
AV1 Image File Format (AVIF) is an open, royalty-free image file format specification for storing images or image sequences compressed with AV1 in the HEIF container format. It competes with HEIC, which uses the same container format built up ...
rect 162 101 229 282 JPEG XL
The JPEG XL Image Coding System is a royalty-free open standard for a image compression, compressed Raster graphics, raster image format. It defines a graphics file format and the abstract device for coding JPEG XL bitstreams. It is developed by t ...
rect 119 168 157 230 PNG
rect 273 170 321 244 Scalable Vector Graphic
Scalable Vector Graphics (SVG) is an XML-based vector graphics format for defining Plane (mathematics), two-dimensional graphics, having support for interactivity and animation. The SVG specification is an open standard developed by the World Wi ...
rect 333 124 381 245 PDF
Portable document format (PDF), standardized as ISO 32000, is a file format developed by Adobe Inc., Adobe in 1992 to present documents, including text formatting and images, in a manner independent of application software, computer hardware, ...
rect 387 147 437 195 PostScript
PostScript (PS) is a page description language and dynamically typed, stack-based programming language. It is most commonly used in the electronic publishing and desktop publishing realm, but as a Turing complete programming language, it c ...
desc bottom-left
Including proprietary types, there are hundreds of image file types. The PNG, JPEG, and GIF formats are most often used to display images on the Internet. Some of these graphic formats are listed and briefly described below, separated into the two main families of graphics: raster and vector. Raster images are further divided into formats primarily aimed at (web) delivery (i.e., supporting relatively strong compression) versus formats primarily aimed at authoring or interchange (uncompressed or only relatively weak compression).
In addition to straight image formats,
Metafile formats are portable formats that can include both raster and vector information. Examples are application-independent formats such as
WMF and
EMF. The metafile format is an intermediate format. Most applications open metafiles and then save them in their own native format.
Page description language
In digital printing, a page description language (PDL) is a computer language that describes the appearance of a printed page in a higher level than an actual output bitmap (or generally raster graphics). An overlapping term is printer control ...
refers to formats used to describe the layout of a printed page containing text, objects, and images. Examples are
PostScript
PostScript (PS) is a page description language and dynamically typed, stack-based programming language. It is most commonly used in the electronic publishing and desktop publishing realm, but as a Turing complete programming language, it c ...
,
PDF
Portable document format (PDF), standardized as ISO 32000, is a file format developed by Adobe Inc., Adobe in 1992 to present documents, including text formatting and images, in a manner independent of application software, computer hardware, ...
, and
PCL.
Raster formats (2D)
Delivery formats
= JPEG
=
JPEG
JPEG ( , short for Joint Photographic Experts Group and sometimes retroactively referred to as JPEG 1) is a commonly used method of lossy compression for digital images, particularly for those images produced by digital photography. The degr ...
(Joint Photographic Experts Group) is a
lossy compression
In information technology, lossy compression or irreversible compression is the class of data compression methods that uses inexact approximations and partial data discarding to represent the content. These techniques are used to reduce data size ...
method; JPEG-compressed images are usually stored in the
JFIF
The JPEG File Interchange Format (JFIF) is an image file format standard published as ITU-T Recommendation T.871 and ISO/IEC 10918-5. It defines supplementary specifications for the Digital container format, container format that contains the image ...
(JPEG File Interchange Format) or the
Exif
Exchangeable image file format (officially Exif, according to JEIDA/JEITA/CIPA specifications) is a standard that specifies formats for images, sound, and ancillary tags used by digital cameras (including smartphones), scanners and other system ...
(Exchangeable Image File Format) file format. The JPEG
filename extension
A filename extension, file name extension or file extension is a suffix to the name of a computer file (for example, .txt, .mp3, .exe) that indicates a characteristic of the file contents or its intended use. A filename extension is typically d ...
is JPG or JPEG. Nearly every digital camera can save images in the JPEG format, which supports eight-bit grayscale images and 24-bit color images (eight bits each for red, green, and blue). JPEG applies lossy compression to images, which can result in a significant reduction of the file size. Applications can determine the degree of compression to apply, and the amount of compression affects the visual quality of the result. When not too great, the compression does not noticeably affect or detract from the image's quality, but JPEG files suffer
generational degradation when repeatedly edited and saved. (JPEG also provides lossless image storage, but the lossless version is not widely supported.)
= GIF
=
The GIF (
Graphics Interchange Format
The Graphics Interchange Format (GIF; or , ) is a bitmap image format that was developed by a team at the online services provider CompuServe led by American computer scientist Steve Wilhite and released on June 15, 1987.
The format can ...
) is in normal use limited to an 8-bit palette, or 256 colors (while 24-bit color depth is technically possible).
GIF is most suitable for storing graphics with few colors, such as simple diagrams, shapes, logos, and cartoon-style images, as it uses
LZW lossless compression, which is more effective when large areas have a single color and less effective for photographic or
dither
Dither is an intentionally applied form of noise used to randomize quantization error, preventing large-scale patterns such as color banding in images. Dither is routinely used in processing of both digital audio and video data, and is ofte ...
ed images. Due to GIF's simplicity and age, it achieved almost universal software support. Due to its animation capabilities, it is still widely used to provide image animation effects, despite its low compression ratio compared to modern video formats.
= PNG
=
The PNG (
Portable Network Graphics
Portable Network Graphics (PNG, officially pronounced , colloquially pronounced ) is a raster graphics, raster-graphics file graphics file format, format that supports lossless data compression. PNG was developed as an improved, non-patented ...
) file format was created as a free, open-source alternative to GIF. The PNG file format supports 8-bit (256 colors) paletted images (with optional transparency for all palette colors) and 24-bit truecolor (16 million colors) or 48-bit truecolor with and without an alpha channel – while GIF supports only 8-bit palettes with a single transparent color.
Compared to JPEG, PNG excels when the image has large, uniformly colored areas. Even for photographs – where JPEG is often the choice for final distribution since its lossy compression typically yields smaller file sizes – PNG is still well-suited to storing images during the editing process because of its lossless compression.
PNG provides a patent-free replacement for GIF (though GIF is itself now patent-free) and can also replace many common uses of TIFF. Indexed-color, grayscale, and truecolor images are supported, plus an optional alpha channel. The
Adam7 interlacing allows an early preview, even when only a small percentage of the image data has been transmitted—useful in online viewing applications like
web browser
A web browser, often shortened to browser, is an application for accessing websites. When a user requests a web page from a particular website, the browser retrieves its files from a web server and then displays the page on the user's scr ...
s. PNG can store gamma and chromaticity data, as well as
ICC profile
In color management, an ICC profile is a set of data that characterizes a color input or output device, or a color space, according to standards promulgated by the International Color Consortium (ICC). Profiles describe the color attributes o ...
s, for accurate color matching on heterogeneous platforms.
Animated formats derived from PNG are
MNG and
APNG, which is backwards compatible with PNG and supported by most browsers.
= JPEG 2000
=
JPEG 2000
JPEG 2000 (JP2) is an image compression standard and coding system. It was developed from 1997 to 2000 by a Joint Photographic Experts Group committee chaired by Touradj Ebrahimi (later the JPEG president), with the intention of superseding their ...
is a compression standard enabling both lossless and lossy storage. The compression methods used are different from the ones in standard JFIF/JPEG; they improve quality and compression ratios, but also require more computational power to process. JPEG 2000 also adds features that are missing in JPEG. It is not nearly as common as JPEG but it is used currently in professional movie editing and distribution (some digital cinemas, for example, use JPEG 2000 for individual movie frames).
= WebP
=
WebP
WebP is a raster graphics file format developed by Google intended as a replacement for JPEG, PNG, and GIF file formats. It supports both lossy and lossless compression, as well as animation and alpha transparency.
Google announced the WebP ...
is an open image format released in 2010 that uses both lossless and lossy compression. It was designed by
Google
Google LLC (, ) is an American multinational corporation and technology company focusing on online advertising, search engine technology, cloud computing, computer software, quantum computing, e-commerce, consumer electronics, and artificial ...
to reduce image file size to speed up web page loading: its principal purpose is to supersede JPEG as the primary format for photographs on the web. WebP is based on
VP8
VP8 is an open format, open and royalty-free Video coding format, video compression format released by On2 Technologies in 2008.
Initially released as a Proprietary software, proprietary successor to On2's previous VP7 format, VP8 was released a ...
's intra-frame coding and uses a container based on
RIFF
A riff is a short, repeated motif or figure in the melody or accompaniment of a musical composition. Riffs are most often found in rock music, punk, heavy metal music, Latin, funk, and jazz, although classical music is also sometimes based ...
.
In 2011, Google added an "Extended File Format" allowing WebP support for
animation
Animation is a filmmaking technique whereby still images are manipulated to create moving images. In traditional animation, images are drawn or painted by hand on transparent celluloid sheets to be photographed and exhibited on film. Animati ...
,
ICC profile
In color management, an ICC profile is a set of data that characterizes a color input or output device, or a color space, according to standards promulgated by the International Color Consortium (ICC). Profiles describe the color attributes o ...
,
XMP and
Exif
Exchangeable image file format (officially Exif, according to JEIDA/JEITA/CIPA specifications) is a standard that specifies formats for images, sound, and ancillary tags used by digital cameras (including smartphones), scanners and other system ...
metadata
Metadata (or metainformation) is "data that provides information about other data", but not the content of the data itself, such as the text of a message or the image itself. There are many distinct types of metadata, including:
* Descriptive ...
, and tiling.
The support for animation allowed for converting older animated GIFs to animated WebP.
The WebP container (i.e., RIFF container for WebP) allows feature support over and above the basic use case of WebP (i.e., a file containing a single image encoded as a VP8 key frame). The WebP container provides additional support for:
* Lossless compression – An image can be losslessly compressed, using the WebP Lossless Format.
* Metadata – An image may have metadata stored in EXIF or XMP formats.
* Transparency – An image may have transparency, i.e., an alpha channel.
* Color Profile – An image may have an embedded ICC profile as described by the International Color Consortium.
* Animation – An image may have multiple frames with pauses between them, making it an animation.
= HDR raster formats
=
Most typical raster formats cannot store
HDR data (32 bit floating point values per pixel component), which is why some relatively old or complex formats are still predominant here, and worth mentioning separately. Newer alternatives are showing up, though.
RGBE is the format for HDR images originating from
Radiance
In radiometry, radiance is the radiant flux emitted, reflected, transmitted or received by a given surface, per unit solid angle per unit projected area. Radiance is used to characterize diffuse emission and reflection of electromagnetic radiati ...
and also supported by Adobe Photoshop.
JPEG-HDR is a file format from Dolby Labs similar to RGBE encoding, standardized as JPEG XT Part 2.
JPEG XT Part 7 includes support for encoding floating point HDR images in the base 8-bit JPEG file using enhancement layers encoded with four profiles (A-D); Profile A is based on the RGBE format and Profile B on the XDepth format from Trellis Management.
= HEIF
=
The
High Efficiency Image File Format
High Efficiency Image File Format (HEIF) is a digital container format for storing individual digital images and image sequences. The standard covers multimedia files that can also include other media streams, such as timed text, audio and vid ...
(HEIF) is an image container format that was standardized by
MPEG
The Moving Picture Experts Group (MPEG) is an alliance of working groups established jointly by International Organization for Standardization, ISO and International Electrotechnical Commission, IEC that sets standards for media coding, includ ...
on the basis of the
ISO base media file format
The ISO base media file format (ISOBMFF) is a container file format that defines a general structure for files that contain time-based multimedia data such as video and audio.
It is standardized in ISO/ IEC 14496-12, a.k.a. MPEG-4 Part 12, and w ...
. While HEIF can be used with any image compression format, the HEIF standard specifies the storage of
HEVC
High Efficiency Video Coding (HEVC), also known as H.265 and MPEG-H Part 2, is a video compression standard designed as part of the MPEG-H project as a successor to the widely used Advanced Video Coding (AVC, H.264, or MPEG-4 Part 10). In co ...
intra-coded images and HEVC-coded image sequences taking advantage of inter-picture prediction.
= AVIF
=
AVIF is an image container, that is used to store AV1 encoded images. It was created by
Alliance for open media (AOMedia) and is completely open source and royalty-free. It supports encoding images in 8, 10 and 12-bit depth.
= JPEG XL
=
JPEG XL
The JPEG XL Image Coding System is a royalty-free open standard for a image compression, compressed Raster graphics, raster image format. It defines a graphics file format and the abstract device for coding JPEG XL bitstreams. It is developed by t ...
is a royalty-free raster-graphics file format that supports both lossy and lossless compression. It supports reversible recompression of existing JPEG files, as well as high-precision HDR (up to 32-bit floating point values per pixel component). It is designed to be usable for both delivery and authoring use cases.
Authoring / Interchange formats
=TIFF
=
The TIFF (
Tag Image File Format
Tag Image File Format or Tagged Image File Format, commonly known by the abbreviations TIFF or TIF, is an image file format for storing raster graphics images, popular among graphic artists, the publishing industry, and photographers. TIFF is w ...
) format is a flexible format usually using either the TIFF or TIF filename extension. The tag structure was designed to be easily extendible, and many vendors have introduced proprietary special-purpose tags – with the result that no one reader handles every flavor of TIFF file. TIFFs can be lossy or lossless, depending on the technique chosen for storing the pixel data. Some offer relatively good lossless compression for
bi-level (black&white) images. Some digital cameras can save images in TIFF format, using the
LZW compression algorithm for lossless storage. TIFF image format is not widely supported by web browsers, but it remains widely accepted as a photograph file standard in the printing business. TIFF can handle device-specific color spaces, such as the
CMYK
The CMYK color model (also known as process color, or four color) is a subtractive color model, based on the CMY color model, used in color printing, and is also used to describe the printing process itself. The abbreviation ''CMYK'' refers ...
defined by a particular set of printing press inks.
OCR (Optical Character Recognition) software packages commonly generate some form of TIFF image (often
monochromatic
A monochrome or monochromatic image, object or palette is composed of one color (or values of one color). Images using only shades of grey are called grayscale (typically digital) or black-and-white (typically analog). In physics, mon ...
) for scanned text pages.
= BMP
=
The
BMP file format
The BMP file format, or bitmap, is a raster graphics image file format used to store bitmap digital images, independently of the display device (such as a graphics adapter), especially on Microsoft Windows and OS/2 operating systems.
The BMP f ...
(Windows bitmap) is a raster-based, device-independent file type designed in the early days of computer graphics. It handles graphic files within the Microsoft Windows OS. Typically, BMP files are uncompressed and therefore large and lossless; their advantage is their simple structure and wide acceptance in Windows programs.
= PPM, PGM, PBM, and PNM
=
Netpbm format
Netpbm (formerly Pbmplus) is an open-source software, open-source package of graphics programs and a programming library. It is used primarily in Unix, where it is found in all major open-source operating system distributions, but also works on M ...
is a family including the portable pixmap file format (PPM), the portable graymap file format (PGM), and the portable bitmap file format (PBM). These are either pure
ASCII
ASCII ( ), an acronym for American Standard Code for Information Interchange, is a character encoding standard for representing a particular set of 95 (English language focused) printable character, printable and 33 control character, control c ...
files or raw binary files with an ASCII header that provide very basic functionality and serve as a lowest common denominator for converting pixmap, graymap, or bitmap files between different platforms. Several applications refer to them collectively as PNM ("Portable aNy Map").
=Container formats of
raster graphics editors
A raster graphics editor (also called bitmap graphics editor) is a computer program that allows users to create and edit images interactively on the computer screen and save them in one of many raster graphics file formats (also known as bitmap ...
=
These image formats contain various images, layers and objects, out of which the final image is to be composed
* AFPhoto (
Affinity Photo
Affinity Photo is a raster graphics editor developed by Serif Ltd. for iPadOS, macOS, and Windows, alongside Affinity Designer and Affinity Publisher. Development of Affinity Photo started in 2009 as a raster graphics editor for macOS. Its fir ...
Document)
*
CD5 (
Chasys Draw Image)
*
CLIP (Clip Studio Paint)
*
CPT (Corel Photo Paint)
*
KRA (Krita)
* MDP (
Medibang and FireAlpaca)
*
PDN (Paint Dot Net)
* PLD (
PhotoLine Document)
*
PSD (Adobe PhotoShop Document)
*
PSP (Corel Paint Shop Pro)
*
SAI (Paint Tool SAI)
*
XCF (eXperimental Computing Facility format)—native
GIMP
Gimp or GIMP may refer to:
Clothing
* Bondage suit, also called a gimp suit, a type of suit used in BDSM
* Bondage mask, also called a gimp mask, often worn in conjunction with a gimp suit
Embroidery and crafts
* Gimp (thread), an ornamental tr ...
format
Other raster formats
* BPG (
Better Portable Graphics)—an image format from 2014. Its purpose is to replace JPEG when quality or file size is an issue. To that end, it features a high
data compression ratio
Data compression ratio, also known as compression power, is a measurement of the relative reduction in size of data representation produced by a data compression algorithm. It is typically expressed as the division of uncompressed size by compress ...
, based on a subset of the
HEVC
High Efficiency Video Coding (HEVC), also known as H.265 and MPEG-H Part 2, is a video compression standard designed as part of the MPEG-H project as a successor to the widely used Advanced Video Coding (AVC, H.264, or MPEG-4 Part 10). In co ...
video compression standard, including
lossless compression
Lossless compression is a class of data compression that allows the original data to be perfectly reconstructed from the compressed data with no loss of information. Lossless compression is possible because most real-world data exhibits statisti ...
. In addition, it supports various meta data (such as EXIF).
* DEEP—
IFF
In logic and related fields such as mathematics and philosophy, "if and only if" (often shortened as "iff") is paraphrased by the biconditional, a logical connective between statements. The biconditional is true in two cases, where either both ...
-style format used by
TVPaint
*
DRW (Drawn File)
*
ECW (Enhanced Compression Wavelet)
*
FITS
Flexible Image Transport System (FITS) is an open standard defining a digital file format used for storage, transmission and processing of data: formatted as multi-dimensional arrays (for example a 2D image), or tables. FITS is the most commonl ...
(Flexible Image Transport System)
*
FLIF (Free Lossless Image Format)—a discontinued lossless image format which claims to outperform PNG, lossless WebP, lossless BPG and lossless JPEG 2000 in terms of compression ratio. It uses the MANIAC (Meta-Adaptive Near-zero Integer Arithmetic Coding) entropy encoding algorithm, a variant of the
CABAC
Context-adaptive binary arithmetic coding (CABAC) is a form of entropy encoding used in the H.264/MPEG-4 AVC and High Efficiency Video Coding (HEVC) standards. It is a lossless compression technique, although the video coding standards in which it ...
(context-adaptive binary arithmetic coding) entropy encoding algorithm.
*
ICO—container for one or more icons (subsets of
BMP and/or
PNG)
*
ILBM
Interleaved Bitmap (ILBM) is an image file format conforming to the Interchange File Format (IFF) standard. The format originated on the Amiga platform, and on IBM-compatible systems, files in this format or the related PBM (Planar Bitmap) for ...
—
IFF
In logic and related fields such as mathematics and philosophy, "if and only if" (often shortened as "iff") is paraphrased by the biconditional, a logical connective between statements. The biconditional is true in two cases, where either both ...
-style format for up to 32 bit in planar representation, plus optional 64 bit extensions
*
IMG img or IMG is an abbreviation for image.
img or IMG may also refer to:
Science, technology, and mathematics
*IMG (file format), file that stores a complete and uncompressed copy of the contents of a storage device
* IMG, a prefix for camera ima ...
(ERDAS IMAGINE Image)
* IMG (
Graphics Environment Manager (GEM) image file)—planar,
run-length encoded
*
JPEG XR
JPEG XR (JPEG extended range) is an image compression standard for continuous tone photographic images, based on the HD Photo (formerly Windows Media Photo) specifications that Microsoft originally developed and patented. It supports both los ...
—JPEG standard based on Microsoft HD Photo
*
Nrrd (Nearly raw raster data)
*
PAM (Portable Arbitrary Map)—late addition to the
Netpbm family
*
PCX (PiCture eXchange)—obsolete
*
PGF (Progressive Graphics File)
*
SGI (Silicon Graphics Image)—native raster graphics file format for Silicon Graphics workstations
*
SID (multiresolution seamless image database, MrSID)
*
Sun Raster—obsolete
*
TGA (TARGA)—obsolete
*
VICAR file format—
NASA
The National Aeronautics and Space Administration (NASA ) is an independent agencies of the United States government, independent agency of the federal government of the United States, US federal government responsible for the United States ...
/
JPL image transport format
* XISF (Extensible Image Serialization Format)
Vector formats
As opposed to the raster image formats above (where the data describes the characteristics of each individual pixel), vector image formats contain a geometric description which can be rendered smoothly at any desired display size.
At some point, all vector graphics must be rasterized in order to be displayed on digital monitors. Vector images may also be displayed with analog
CRT
CRT or Crt most commonly refers to:
* Cathode-ray tube, a display
* Critical race theory, an academic framework of analysis
CRT may also refer to:
Law
* Charitable remainder trust, United States
* Civil Resolution Tribunal, Canada
* Columbia ...
technology such as that used in some
electronic test equipment
Electronic test equipment is used to create signals and capture responses from electronic devices under test (DUTs). In this way, the proper operation of the DUT can be proven or faults in the device can be traced. Use of electronic test equipme ...
,
medical monitors,
radar
Radar is a system that uses radio waves to determine the distance ('' ranging''), direction ( azimuth and elevation angles), and radial velocity of objects relative to the site. It is a radiodetermination method used to detect and track ...
displays,
laser shows and
early video games.
Plotter
A plotter is a machine that produces vector graphics drawings. Plotters draw lines on paper using a pen, or in some applications, use a knife to cut a material like Polyvinyl chloride, vinyl or leather. In the latter case, they are sometimes k ...
s are printers that use vector data rather than pixel data to draw graphics.
CGM
CGM (
Computer Graphics Metafile
Computer Graphics Metafile (CGM) is a free and open international standard file format for 2D vector graphics, raster graphics, and text, and is defined by ISO/ IEC 8632.
Overview
All graphical elements can be specified in a textual source fi ...
) is a file format for
2D vector graphics, raster graphics, and
text
Text may refer to:
Written word
* Text (literary theory)
In literary theory, a text is any object that can be "read", whether this object is a work of literature, a street sign, an arrangement of buildings on a city block, or styles of clothi ...
, and is defined by
ISO/IEC
ISO/IEC JTC 1, entitled "Information technology", is a joint technical committee (JTC) of the International Organization for Standardization (ISO) and the International Electrotechnical Commission (IEC). Its purpose is to develop, maintain and ...
8632. All
graphical elements can be specified in a textual
source file
In computing, source code, or simply code or source, is a plain text computer program written in a programming language. A programmer writes the human readable source code to control the behavior of a computer.
Since a computer, at base, onl ...
that can be compiled into a
binary file
A binary file is a computer file that is not a text file. The term "binary file" is often used as a term meaning "non-text file". Many binary file formats contain parts that can be interpreted as text; for example, some computer document files ...
or one of two text representations. CGM provides a means of graphics data interchange for computer representation of 2D graphical information independent from any particular application, system, platform, or device.
It has been adopted to some extent in the areas of
technical illustration
Technical illustration is illustration meant to visually communicate information of a technical nature. Technical illustrations can be components of technical drawings or diagrams. Technical illustrations in general aim "to generate expressive ...
and professional
design
A design is the concept or proposal for an object, process, or system. The word ''design'' refers to something that is or has been intentionally created by a thinking agent, and is sometimes used to refer to the inherent nature of something ...
, but has largely been superseded by formats such as
SVG and
DXF
AutoCAD DXF (Drawing Interchange Format, or Drawing Exchange Format) is a computer-aided design (CAD) data file format developed by Autodesk to enable CAD data exchange and interoperability between AutoCAD on different computing platforms.
His ...
.
Gerber format (RS-274X)
The
Gerber format
The Gerber format is an open, ASCII, vector format for printed circuit board (PCB) designs. It is the ''de facto'' standard used by PCB industry software to describe the printed circuit board images: copper layers, solder mask, legend, drill d ...
(aka Extended Gerber, RS-274X) is a 2D bi-level image description format developed by
Ucamco. It is the de facto standard format for
printed circuit board
A printed circuit board (PCB), also called printed wiring board (PWB), is a Lamination, laminated sandwich structure of electrical conduction, conductive and Insulator (electricity), insulating layers, each with a pattern of traces, planes ...
or PCB software.
SVG
SVG (
Scalable Vector Graphics
Scalable Vector Graphics (SVG) is an XML-based vector graphics format for defining two-dimensional graphics, having support for interactivity and animation. The SVG specification is an open standard developed by the World Wide Web Consortium sin ...
) is an
open standard
An open standard is a standard that is openly accessible and usable by anyone. It is also a common prerequisite that open standards use an open license that provides for extensibility. Typically, anybody can participate in their development due to ...
created and developed by the
World Wide Web Consortium
The World Wide Web Consortium (W3C) is the main international standards organization for the World Wide Web. Founded in 1994 by Tim Berners-Lee, the consortium is made up of member organizations that maintain full-time staff working together in ...
to address the need (and attempts of several corporations) for a versatile,
scriptable and all-purpose vector format for the web and otherwise. The SVG format does not have a compression scheme of its own, but due to the textual nature of
XML
Extensible Markup Language (XML) is a markup language and file format for storing, transmitting, and reconstructing data. It defines a set of rules for encoding electronic document, documents in a format that is both human-readable and Machine-r ...
, an SVG graphic can be compressed using a program such as
gzip
gzip is a file format and a software application used for file compression and decompression. The program was created by Jean-loup Gailly and Mark Adler as a free software replacement for the compress program used in early Unix systems, and ...
. Because of its scripting potential, SVG is a key component in
web application
A web application (or web app) is application software that is created with web technologies and runs via a web browser. Web applications emerged during the late 1990s and allowed for the server to dynamically build a response to the request, ...
s: interactive web pages that look and act like applications.
Other 2D vector formats
* AFDesign (
Affinity Designer document)
* AI (
Adobe Illustrator Artwork
Adobe Illustrator is a vector graphics editor and Computer-aided design, design software developed and marketed by Adobe Inc., Adobe. Originally designed for the Apple Inc., Apple Mac (computer), Macintosh, development of Adobe Illustrator began ...
)— proprietary file format developed by
Adobe Systems
Adobe Inc. ( ), formerly Adobe Systems Incorporated, is an American software, computer software company based in San Jose, California. It offers a wide range of programs from web design tools, photo manipulation and vector creation, through to ...
* CDR—proprietary format for
CorelDRAW
CorelDRAW is a vector graphics editor developed and marketed by Alludo (formerly Corel Corporation). It is also the name of the Corel graphics suite, which includes the bitmap-image editor Corel Photo-Paint as well as other graphics-related progr ...
vector graphics editor
* !DRAW—a native vector graphic format (in several backward compatible versions) for the
RISC-OS computer system begun by Acorn in the mid-1980s and still present on that platform today
*
DrawingML—used in
Office Open XML documents
* GEM—metafiles interpreted and written by the
Graphics Environment Manager VDI subsystem
* GLE (
Graphics Layout Engine)—graphics scripting language
*
HP-GL
HP-GL, short for Hewlett-Packard Graphics Language and often written as HPGL, is a printer control language created by Hewlett-Packard (HP). HP-GL was the primary printer control language used by HP plotters. It was introduced with the plotteHP-98 ...
(Hewlett-Packard Graphics Language)—introduced on
Hewlett-Packard
The Hewlett-Packard Company, commonly shortened to Hewlett-Packard ( ) or HP, was an American multinational information technology company. It was founded by Bill Hewlett and David Packard in 1939 in a one-car garage in Palo Alto, California ...
plotters, but generalized into a printer language
* HVIF (
Haiku Vector Icon Format)
*
Lottie—format for vector graphics animation
*
MathML
Mathematical Markup Language (MathML) is a pair of mathematical markup languages, an application of XML for describing mathematical notations and capturing both its structure and content. Its aim is to natively integrate mathematical formulae ...
(Mathematical Markup Language)—an application of XML for describing mathematical notations
*
NAPLPS
NAPLPS (North American Presentation Layer Protocol Syntax) is a Vector graphics markup language, graphics language for use originally with videotex and teletext services. NAPLPS was developed from the Telidon system developed in Canada, with a s ...
(North American Presentation Layer Protocol Syntax)
* ODG (
OpenDocument Graphics)
* PGML (
Precision Graphics Markup Language)—a
W3C
The World Wide Web Consortium (W3C) is the main international standards organization for the World Wide Web. Founded in 1994 by Tim Berners-Lee, the consortium is made up of member organizations that maintain full-time staff working together in ...
submission that was not adopted as a
recommendation
*
PSTricks and
PGF/TikZ are languages for creating graphics in
TeX
Tex, TeX, TEX, may refer to:
People and fictional characters
* Tex (nickname), a list of people and fictional characters with the nickname
* Tex Earnhardt (1930–2020), U.S. businessman
* Joe Tex (1933–1982), stage name of American soul singer ...
documents
* QCC—used by Quilt Manager (by Quilt EZ) for designing quilts
*
ReGIS (Remote Graphic Instruction Set)—used by
DEC computer terminal
A computer terminal is an electronic or electromechanical hardware device that can be used for entering data into, and transcribing data from, a computer or a computing system. Most early computers only had a front panel to input or display ...
s
*
Remote imaging protocol—system for sending vector graphics over low-bandwidth links
* TinyVG—binary, simpler alternative to SVG
* VML (
Vector Markup Language)—obsolete XML-based format
*
Xar—format used in vector applications from
Xara
Xara is an international software company founded in 1981, with an HQ in Berlin and development office in Hemel Hempstead, UK. It has developed software for a variety of computer platforms, in chronological order: the Acorn Atom, BBC Micro, Ca ...
* XPS (
XML Paper Specification
Open XML Paper Specification (also referred to as OpenXPS) is an open specification for a page description language and a fixed-document format. Microsoft developed it as the XML Paper Specification (XPS). In June 2009, Ecma International adopte ...
)—page description language and a fixed-document format
3D vector formats
*
AMF – Additive Manufacturing File Format
*
Asymptote
In analytic geometry, an asymptote () of a curve is a line such that the distance between the curve and the line approaches zero as one or both of the ''x'' or ''y'' coordinates tends to infinity. In projective geometry and related contexts, ...
– A language that lifts TeX to 3D.
*
.blend – Blender
*
COLLADA
*
DGN
*
.dwf
*
.dwg
*
.dxf
*eDrawings
*
.flt –
OpenFlight
*
FVRML – and FX3D, function-based extensions of VRML and X3D
*
glTF
glTF (Graphics Library Transmission Format or GL Transmission Format and formerly known as WebGL Transmissions Format or WebGL TF) is a standard file format for three-dimensional scenes and models. A glTF file uses one of two possible file exte ...
- 3D asset delivery format (.glb binary version)
*HSF
*
IGES
The Initial Graphics Exchange Specification (IGES) is a vendor-neutral List of file formats, file format that allows the CAD data exchange, digital exchange of information among computer-aided design (CAD) systems. It is an ASCII-based textual for ...
*
JT
*.MA (Maya ASCII format)
*.MB (Maya Binary format)
*.OBJ
Wavefront
In physics, the wavefront of a time-varying ''wave field (physics), field'' is the set (locus (mathematics), locus) of all point (geometry), points having the same ''phase (waves), phase''. The term is generally meaningful only for fields that, a ...
*
OpenGEX – Open Game Engine Exchange
*
PLY
*
POV-Ray
The Persistence of Vision Ray Tracer, most commonly acronymed as POV-Ray, is a cross-platform ray-tracing program that generates images from a text-based scene description. It was originally based on DKBTrace, written by David Kirk Buck and Aaro ...
scene description language
*
PRC
China, officially the People's Republic of China (PRC), is a country in East Asia. With a population exceeding 1.4 billion, it is the second-most populous country after India, representing 17.4% of the world population. China spans the e ...
*
STEP
*
SKP
*
STL – A stereolithography format
*
U3D – Universal 3D file format
*
VRML – Virtual Reality Modeling Language
*
XAML
Extensible Application Markup Language (XAML ) is a declarative XML-based language developed by Microsoft for initializing structured values and objects. It is available under Microsoft's Open Specification Promise.
XAML is used extensively i ...
*XGL
*
XVL
*
xVRML
*
X3D
*3DF
*.3DM
*
.3ds – Autodesk 3D Studio
*
3DXML
*X3D – Vector format used in 3D applications from
Xara
Xara is an international software company founded in 1981, with an HQ in Berlin and development office in Hemel Hempstead, UK. It has developed software for a variety of computer platforms, in chronological order: the Acorn Atom, BBC Micro, Ca ...
Compound formats
These are formats containing both pixel and vector data, possible other data, e.g. the interactive features of PDF.
*EPS (
Encapsulated PostScript
Encapsulated PostScript (EPS) is a Document Structuring Convention (DSC) conforming PostScript document format usable as a graphics file format. The format was developed as early as 1987 by John Warnock and Chuck Geschke, the founders of Adobe, ...
)
*
MODCA (Mixed Object:Document Content Architecture)
*PDF (
Portable Document Format
Portable document format (PDF), standardized as ISO 32000, is a file format developed by Adobe in 1992 to present documents, including text formatting and images, in a manner independent of application software, hardware, and operating syste ...
)
*
PostScript
PostScript (PS) is a page description language and dynamically typed, stack-based programming language. It is most commonly used in the electronic publishing and desktop publishing realm, but as a Turing complete programming language, it c ...
, a
page description language
In digital printing, a page description language (PDL) is a computer language that describes the appearance of a printed page in a higher level than an actual output bitmap (or generally raster graphics). An overlapping term is printer control ...
with strong graphics capabilities
*
PICT
PICT is a graphics file format introduced on the original Apple Macintosh computer as its standard metafile format. It allows the interchange of graphics (both bitmapped and vector), and some limited text support, between Mac applications, an ...
(Classic Macintosh QuickDraw file)
* WMF / EMF (
Windows Metafile
Windows Metafile (WMF) is an image file format originally designed for Microsoft Windows in the 1990s. The original Windows Metafile format was not device-independent (though could be made more so with placement headers) and may contain both vector ...
/ Enhanced Metafile)
*
SWF (Shockwave Flash)
*
XAML
Extensible Application Markup Language (XAML ) is a declarative XML-based language developed by Microsoft for initializing structured values and objects. It is available under Microsoft's Open Specification Promise.
XAML is used extensively i ...
User interface language using vector graphics for images.
Stereo formats
* MPO The
Multi Picture Object (.mpo) format consists of multiple JPEG images (
Camera & Imaging Products Association) (CIPA).
* PNS The PNG Stereo (.pns) format consists of a side-by-side image based on PNG (
Portable Network Graphics
Portable Network Graphics (PNG, officially pronounced , colloquially pronounced ) is a raster graphics, raster-graphics file graphics file format, format that supports lossless data compression. PNG was developed as an improved, non-patented ...
).
* JPS The
JPEG Stereo (.jps) format consists of a side-by-side image format based on
JPEG
JPEG ( , short for Joint Photographic Experts Group and sometimes retroactively referred to as JPEG 1) is a commonly used method of lossy compression for digital images, particularly for those images produced by digital photography. The degr ...
.
See also
*
Display resolution
The display resolution or display modes of a digital television, computer monitor, or other display device is the number of distinct pixels in each dimension that can be displayed. It can be an ambiguous term especially as the displayed resoluti ...
*
Display aspect ratio
The display aspect ratio (DAR) is the Aspect ratio (image), aspect ratio of a display device and so the proportional relationship between the display size, physical width and the height of the display. It is expressed as two numbers separated by a ...
*
List of common display resolutions
*
Display resolution standards
A display resolution standard is a commonly used width and height dimension (display resolution) of an electronic visual display device, measured in pixels. This information is used for electronic devices such as a computer monitor. Certain com ...
References
{{Graphics file formats
*
Lists of file formats
Vector graphics markup languages