Comparison of graphics file formats: Difference between revisions

Content deleted Content added
m Added sticky-header to tables.
Technical details: Update PNG info
 
(4 intermediate revisions by 4 users not shown)
Line 404:
| .gif, .gfa, .giff
| image/gif
| General purpose, obsolete,popular nowfor onlysmall used foranimated animationsimages
| {{Yes}}
|-
Line 969:
 
==Technical details==
{{sort-under}}
 
{| class="sortable sort-under wikitable sticky-header" style="text-align: center; width: auto; font-size: smaller;"
! Format || [[Compression algorithm|Compression<br /> algorithm]] || [[raster graphics|Raster]]/<br />[[Vector graphics|vector]] || Maximum<br/>[[Color depth]]
! {{verth|[[Indexed color]]}} || {{verth|[[Transparency in graphic files|Trans-Transparency]]}}
[[Color depth]]
! {{verth|[[Metadata|Meta-]]}}
! [[Indexed color]] || [[Transparency in graphic files|Trans-]]
! {{verth|[[Interlace (bitmaps)|Inter-Interlacing]]}}
[[Transparency in graphic files|parency]]
! {{verth|Multi-page}} || {{verth|[[Animation|Anima-tion]]}} || {{verth|Layers}} || {{verth|[[Color management|Color manage-ment]]}} || Extend&shy;-{{verth|Extendable}}
! [[Metadata|Meta-]]
[[Metadata|data]]
! [[Interlace (bitmaps)|Inter-]]
[[Interlace (bitmaps)|lacing]]
! Multi-page || [[Animation|Anima-tion]]|| Layers || [[Color management|Color manage-ment]] || Extend&shy;-
able
! [[High dynamic range imaging|HDR format]]
! [[CMYK_color_model|CMYK]]
Line 1,002 ⟶ 997:
|-
! [[AVIF]]
| [[AV1]] [[Lossy compression|Lossy]] and [[Lossless compression|lossless]] ([[AV1]])
| {{partial|Raster}}
| 12 bpc
Line 1,018 ⟶ 1,013:
|-
! [[BMP file format|BMP]]
| None, lossy (JPEG), and lossless ([[Run-length encoding|RLE]], JPEG, and PNG)
| {{partial|Raster}}
| 16 bpc
Line 1,034 ⟶ 1,029:
|-
! [[Better Portable Graphics|BPG]]
| [[HEVC]], Lossy and lossless ([[High Efficiency Video Coding|HEVC]])
| {{partial|Raster}}
| 14 bpc
Line 1,050 ⟶ 1,045:
|-
! [[Chasys Draw IES|CD5]]
| Lossless, (ACSC)
| {{yes|Both}}
| 16 bpc
Line 1,082 ⟶ 1,077:
|-
! [[Cartesian Perceptual Compression|CPC]]
| Lossy (CPC)
| {{partial|Raster}}
| 1
Line 1,098 ⟶ 1,093:
|-
! [[Encapsulated PostScript|EPS]]
| None, and lossless ([[LZW]], [[Deflate]], [[Run-length encoding|RLE]], [[Discrete cosine transform|DCT]])
| {{yes|Both}}
| Device specific
Line 1,114 ⟶ 1,109:
|-
! [[OpenEXR|EXR]]
| None, and lossless ([[Run-length encoding|RLE]], [[ZIP (file format)|ZIP]], Piz, PXR24, and B44, B44A, DWAA, DWAB)
| {{partial|Raster}}
| 32 bpc
Line 1,130 ⟶ 1,125:
|-
! [[Free Lossless Image Format|FLIF]]
| Lossless, (MANIAC entropy coding)
| {{partial|Raster}}
| 16 bpc
Line 1,146 ⟶ 1,141:
|-
! [[GIF]]
| Lossless ([[Lempel–Ziv–Welch|LZW]])
| {{partial|Raster}}
| 255 colors
Line 1,162 ⟶ 1,157:
|-
! [[HD Photo]] / [[JPEG XR]]
| Lossy and lossless (bi-orthogonal transform)
| {{partial|Raster}}
| 32 bpc
Line 1,178 ⟶ 1,173:
|-
! [[ILBM]]
| OptionalNone and lossless ([[run-length encoding|RLE]])
| {{partial|Raster}}
| 8 bpc
Line 1,194 ⟶ 1,189:
|-
! [[JPEG]]
| Lossy (and partly lossless), [[discrete cosine transform|DCT]], [[run-length encoding|RLE]], and [[Huffman coding|Huffman]] predictive nearest neighbor)
| {{partial|Raster}}
| 8 bpc
Line 1,290 ⟶ 1,285:
|-
! [[PCX]]
| None, and lossless ([[Run-length encoding|RLE]])
| {{partial|Raster}}
| 8 bpc
Line 1,322 ⟶ 1,317:
|-
! [[PICT]]
| None, lossy (Quicktime), and lossless ([[run-length encoding|RLE]], and QuickTime)
| {{yes|Both}}
| 8 bpc
Line 1,338 ⟶ 1,333:
|-
! [[Portable Network Graphics|PNG]]
| Lossless and ([[deflateDeflate]])
| {{partial|Raster}}
| 16 bpc
Line 1,346 ⟶ 1,341:
| {{yes}}
| {{no}}
| {{partial|Yes}} (since the third edition)<ref>{{cite web |title=Portable Network Graphics (PNG) Specification (Third Edition) is now a W3C Recommendation |url=https://www.w3.org/news/2025/portable-network-graphics-png-specification-third-edition-is-now-a-w3c-recommendation/ |publisher=World Wide Web Consortium |access-date=2025-07-09 |archive-url=https://web.archive.org/web/20250625023303/https://www.w3.org/news/2025/portable-network-graphics-png-specification-third-edition-is-now-a-w3c-recommendation/ |archive-date=25 June 2025 |date=24 June 2025 |url-status=live}}</ref>
| {{no}} (but see [[Multiple-image Network Graphics|MNG]] and [[Animated Portable Network Graphics|APNG]])
| {{no}}
| {{yes}}
Line 1,370 ⟶ 1,365:
|-
! [[Adobe Photoshop|PSD and PSB]]
| None and lossless ([[Run-length encoding|RLE]])
| {{yes|Both}}
| 32 bpc
Line 1,402 ⟶ 1,397:
|-
! [[Scalable Vector Graphics|SVG]]
| None and lossless ([[gzip]])
| {{partial|Vector}}{{efn|Supports raster data embedding with the use of [[Base64]].}}
| 8 bpc
Line 1,418 ⟶ 1,413:
|-
! [[Truevision TGA|TGA]]
| None, lossless ([[run-length encoding|RLE]]), and other
| {{partial|Raster}}
| 832 bpc
| {{yes}}
| {{yes}}
Line 1,434 ⟶ 1,429:
|-
! [[Tag Image File Format|TIFF]]
| None, lossless ([[LZW]], [[Run-length encoding|RLE]], [[ZIP (file format)|ZIP]]), and other
| {{yes|Both}}
| 16 bpc