Comparison of graphics file formats explained

This is a comparison of image file formats (graphics file formats). This comparison primarily features file formats for 2D images.

General

Ownership of the format and related information.

Format Full name Owner based Format MIME type Application Patent-
free
AIAdobe Illustrator DocumentAdobe Systems.aiapplication/illustrator,
application/postscript
Adobe Illustrator
ANIANI file formatMicrosoftRIFF.aniMicrosoft Windows
ANIMElectronic Arts and CommodoreIFF.iff, .animvideo/x-anim
APNGAnimated Portable Network GraphicsMozillaPNG.pngimage/pngGecko 1.9 and Opera
Apple Icon ImageApple Inc..icnsmacOS
ARTAOL.art
ASCII art.txt, .ansi, .texttext/vnd.ascii-artSupported by GIMP
AutoCAD DXFDrawing Interchange FormatAutodesk.dxfimage/vnd.dxf
ARWSony Alpha RAWSonyTIFF.arw
AVIFAV1 Image File FormatAlliance for Open Media (AOMedia)AV1.avifimage/avifGeneral purpose
BAYCasio RAWCasio.bay
BMPraw-data unencoded or encoded bitmapsimple colour image format, far older than Microsoft; some .bmp encoding formats developed/owned by Microsoft.bmp, .dib, .rle,
.2bp (2bpp)
image/x-bmpUsed by many 2D applications.
BPGBetter Portable GraphicsFabrice BellardHEVC.bpgGeneral purpose
BSAVEBSAVE Image.BSVUsed by IBM PC.
CALCALS raster file format.cal, .cals, .ras, .dcl
CIFFCamera Image File FormatCanon.crw, .ciff
CR2Canon RAW 2CanonTIFF.cr2
CDRCorelDRAW DocumentCorel Corporation.cdr, .ccx, .cdt, .cmxapplication/coreldrawCorelDRAW
CD5Chasys Draw IES ImageJohn Paul Chacha.cd5Native format for Chasys Draw IES for storing layered images and animations
CGMComputer Graphics Metafile.cgmimage/cgmCGM files are editable using programs that support the format, such as IBM Lotus Freelance Graphics, Inkscape, etc.
CINCineon.cinimage/cineon
CPCCartesian Perceptual CompressionCartesian Products, Inc..cpc, .cpiimage/cpiHighly compressed raster imaging format.
DCSKodak DCS Pro RAWKodak.dcs
DCRDigital Camera RawKodakTIFF.dcr
DDSDirectDraw SurfaceMicrosoft.dds
DNGDigital NegativeAdobe Systemscompatible with
ISO 12234-2,
TIFF/EP[1]
.dngA raw image format suitable as an archival format and as the native raw format of digital cameras[2] [3]
DICOMDigital Imaging and Communications in MedicineNational Electrical Manufacturers Association.dcm, .dicomapplication/dicom[4] Numerous biomedical imaging applications (e.g. OsiriX, XMedCon), some general bitmap graphics applications (e.g. GIMP, Photoshop)
DjVuDjVuAT&T Research.djvu, .djvimage/vnd.djvu
DPXDigital Picture eXchange file format.dpximage/dpx
DRFKodak Pro Back RAWKodak.drf
Encapsulated PostScriptpage description/scripting language (see PostScript)Adobe.epi, .eps, .eps2,
.eps3, .epsf, .epsi,
.ept
application/postscriptprinting/publishing industry standard format
ECWEnhanced Compressed WaveletERDAS.ecwWavelet image format used primarily with geo-referenced aerial and satellite imagery
EMFEnhanced Metafile FormatMicrosoft.emf, .emzMicrosoft Office
EMF+Enhanced Metafile Format Plus ExtensionsMicrosoft.emf, .emz
ERFEPSON RAWEPSONTIFF.erf
ExifExchangeable Image File Format.exif
EVAExtended Vector AnimationSharp Corporation.evaapplication/x-eva
EXROpenEXRILM.exrimage/exrUsed in film effects for 3d rendering and hdr images.[5]
FITSFlexible Image Transport System.fit, .fitsScientific (esp. astronomical) data acquisition
FLICAutodesk.fli, .flc, .flx, .flh, .fltSupported by GIMP
FLIFFree Lossless Image Format.flif, .flfGeneral-purpose,superseded by Jpeg XL
FPXFlashPix (1.0.2).fpximage/vnd.fpx
Gerber FormatThe Gerber Format SpecificationUcamcoPrintable ASCII.gbrapplication/vnd.gerberPrinted Circuit Board or PCB software
GIFGraphics Interchange FormatCompuServe,
Unisys (compression algorithm)
.gif, .gfa, .giffimage/gifGeneral purpose, obsolete, now only used for animations
HEIFHigh Efficiency Image FormatMotion Pictures Expert Group (MPEG).heif, .heicimage/heif, image/heic,
image/heic-sequence,
image/heif-sequence
General purpose
HDRiTIFF.tif, .tiffimage/tiff
ICERNASA Mars Rovers
ICOICO file formatMicrosoft.ico, .curimage/vnd.Microsoft.icon,
image/x-icon
Microsoft Windows and web browsers as favicon
ICSImage Cytometry Standard.ics, .ids
IGESInitial Graphics Exchange Specification.igsimage/igesCAD/CAM interoperability
ILBMInterLeaved BitMapElectronic Arts and CommodoreIFF.iff, .ilbm, .lbmimage/x-ilbmPlanar graphics format designed for Amiga graphics hardware.
JBIGJoint Bi-level Image Experts Group.jbig, .bie, .jbg
JBIG2Joint Bi-level Image Experts Group
JNGJPEG Network Graphics.jngimage/x-jng
JPEGJoint Photographic Experts GroupJoint Photographic Experts Group.jpg, .jpeg, .jpe
(containers:
.jif, .jfif, .jfi)
image/jpegGeneral purpose
JPEG 2000Joint Photographic Experts Group 2000Joint Photographic Experts Group.jp2, .j2c, .jpc,
.j2k, .jpx
image/jp2General purpose
JPEG-LSJoint Photographic Experts Group.jls
JPEG-HDRDolby Laboratories/BrightSide TechnologiesJPEGGeneral purpose
JPEG XLJoint Photographic Experts GroupPIK, FUIF (FLIF).jxlimage/jxlGeneral-purpose, lossless JPEG transcoding.
JPEG XTJoint Photographic Experts GroupGeneral purpose
JPEG XR / HD PhotoJPEG XR / HD PhotoMicrosoft.wdp, .hdp, .jxrimage/vnd.ms-photoGeneral purpose
KDCKodak DC40/DC50 RAWKodakTIFF.kdc
K25Kodak DC25 RAWKodakTIFF.k25
Logluv TIFFGreg WardTIFFSupported by LibTIFF
MNGMultiple-image Network GraphicsPNG.mngvideo/x-mng
NEFNikon RAWNikonTIFF.nef
MIFFMagick image file formatImageMagick Studio.miffImageMagick
MRWMinolta RAWMinolta.mrw
ORFOlympus RAWOlympusTIFF.orf
PAMportable arbitrary map file format.pamimage/x-portable-arbitrarymap
PBMPortable Bitmap File FormatASCII.pbmimage/x-portable-bitmap
PCXZSoft PC Paintbrush FileZSoft Corporation.pcx, .pcc, .dcximage/x-pcxDated rle packed indexed image format, used in some early 3d shooting games like Unreal Tournament as it takes up very little space and is easy to decode.
PDFPortable Document FormatAdobe Systems.pdf, .epdfapplication/pdf
PEFPENTAX RAWPENTAXTIFF.pef
PGFProgressive Graphics Filexeraina GmbH.pgfPhotographic images, eventual replacement for JPEG.
PGMPortable Graymap File FormatASCII.pgmimage/x-portable-graymap
PGMLPrecision Graphics Markup LanguageAdobe Systems, IBM,
Netscape, Sun Microsystems
PICTMacintosh PICT FormatApple Inc..pict, .pic, .pct,
.pct1, .pct2
image/pictMetafile for Classic Mac OS, not meant for print publishing.Likely
expired
PICtorJohn Bridges, Doug Wolfgram.picSupported by PCPaint
PNGPortable Network GraphicsWorld Wide Web Consortium.pngimage/pngGeneral purpose
PNMPortable Anymap File FormatASCII.pnmimage/x-portable-anymap
PostScriptpage description/scripting language, levels 1–3Adobe.ps, .ps2, .ps3printing/publishing industry standard format
PPMPortable Pixmap File Format.ppmimage/x-portable-pixmapVery easy to understand. Programs to analyze and write to this format are easily written.
PSDPhotoshop DocumentAdobe Systems.psd, .psb, .pdb,
.pdd
image/vnd.adobe.photoshop[6] Used mainly for storing image manipulation & editing data.
PSPPaint Shop Pro DocumentCorel Corporation.psp, .tub,
.pspimage
image/x-pspPaint Shop Pro
QOIQuite OK Image FormatDominic Szablewski.qoi
RADGregory Ward Larson.radRadiance
RAFFujifilm RAWFujifilm.raf
RGBEGregory Ward Larson.hdrimage/vnd.radianceRadiance, most HDR imaging software
SGISilicon Graphics Image.sgi, .rgb, .rgba,
.bw, .int, .inta,
.icon
SRFSony RAW FileSonyTIFF.srf, .sr2
SVGScalable Vector GraphicsWorld Wide Web ConsortiumXML.svg,
.svgz (compressed)
image/svg+xmlVector graphics
SWFShockwave FlashAdobe Systems.swfapplication/x-shockwave-flashAdobe Flash Player
TGATruevision TargaTruevision Inc..tga, .tpicimage/tgaTexture format used by many 3d application.
TIFFTag Image File FormatAdobe Systems.tiff, .tifimage/tiffDocument scanning and imaging format, also functions as a container.
TIFF/EPTag Image File Format / Electronic PhotographyInternational Organization for StandardizationTIFF.tiff, .tif
UFOUlead File for Objects.ufo
VMLVector Markup LanguageMicrosoftXML.htm, .htmlapplication/vnd.openxmlformats-officedocument.vmlDrawingInternet Explorer, Microsoft Office
WBMPWireless Application Protocol Bitmap FormatOpen Mobile Alliance (formerly WAP Forum).wbmp, .wbm, .wbpimage/vnd.wap.wbmpUsed in WAP-pages
WebPWebP image formatGoogle.webpimage/webpGeneral purpose
WMFWindows Metafile FormatMicrosoft.wmf, .wmz
XARXarXaraXar (graphics).xarapplication/vnd.xara
XBMX BitMap, colour variant of original black-and-white bitmap (bmp) format.xbm, .bm,
.icon, .bitmap
image/x-xbitmapUsed by many legacy Unix applications.
XCFXCF, name derived from eXperimental Computing FacilityThe GIMP Team.xcf,
.xcfbz2 (compressed),
.xcfgz (compressed)
application/x-gimp-imageGIMP
XPMX-Pixmap.xpm, .pmimage/x-xpmLegacy Unix applications
X3FSIGMA RAWSIGMA.x3f
Format Full name Owner based Format MIME type Application Patent-
free

Technical details

Format MaximumColor depthTrans-parencyMeta-dataInter-lacingMulti-page Anima-tionLayers Extend­-ableHDR format
AILossy and lossless 8 bpc
AVIFAV1 Lossy and lossless12 bpc
BMPNone, RLE, JPEG, and PNG16 bpc
BPGHEVC, Lossy and lossless14 bpc
CD5Lossless, ACSC 16 bpc
CDRLossy and lossless 8 bpc
CPCCPC1, via embedded dictionary
EPSNone, LZW, Deflate, RLE, DCTDevice specific
EXRNone, RLE, ZIP, Piz, PXR24, and B44, B44A, DWAA, DWAB32 bpc
FLIFLossless, MANIAC entropy coding16 bpc, via chunks
GIFLZW255 colors (GIF89a)
HD Photo / JPEG XRLossy and lossless bi-orthogonal transform32 bpc
ILBMOptional run-length encoding8 bpc ,
Palette-shifting
JPEGLossy (and partly lossless), DCT, RLE, and Huffman predictive nearest neighbor8 bpc (see unofficial JPEG-HDR)
JPEG 2000Lossy and lossless (DWT)16 bpc
JPEG XLLossy and lossless (VarDCT mode, Modular mode)32 bpc
KRANone32 bpc
ORALossless16 bpc
PAMNoneUp to 16
PCXNone, RLE8 bpc
PGFLossy and lossless (DWT)16 bpc
PICTNone, RLE, and QuickTime8 bpc?
PNGLossless and deflate16 bpc (but see MNG and APNG), via chunks, see discussion
PPMNone8 ppc
PSD and PSBNone and RLE32 bpc?
PSPNone16 bpc
SVGNone and lossless gzip8 bpc (1.2 draft)[7] (SMIL/SVG)[8] , XML based
TGANone, RLE, and other8 bpc
TIFFNone, LZW, RLE, ZIP, and other8 bpc, via tags, TIFF float
WebPLossy and lossless8 bpc[9] [10]
XCFNone and lossless (gzip, bzip2 and xz)32 bpc
Format MaximumColordepthMeta-dataInter-lacingMulti-page Layers Extend-­ableHDR format

See also

Notes and References

  1. Adobe: DNG Specification
  2. Adobe: Introducing the Digital Negative Specification: Information for manufacturers
  3. Adobe Labs: CinemaDNG (last bullet point)
  4. RFC 3240
  5. Web site: License . openexr.com.
  6. Web site: vnd.adobe.photoshop . 2010-01-28 .
  7. Web site: Multiple pages (SVG 1.2). www.w3.org.
  8. Web site: Removed: Color — SVG 2. www.w3.org.
  9. Web site: Issue 437: allow palette extraction from indexed lossless images. WebP issue tracker . 1 December 2020.
  10. Web site: Lossless Bitstream Specification, section Color Indexing Transform . WebP official reference at Google Developers . 1 December 2020.