Comparison of graphics file formats: Difference between revisions

Content deleted Content added
Removed redundant information, added some information, made the columns less wide, so it fits on more screens
Line 969:
 
{| class="sortable wikitable" style="text-align: center; width: auto; font-size: smaller;"
! style="width: 7em;"| Format || [[Compression algorithm|Compression<br /> algorithm]] || [[raster graphics|Raster]]/<br />[[Vector graphics|vector]] || Maximum
[[Color depth]] ||
! [[Indexed color]] || [[Transparency in graphic files|Trans-]]
[[Transparency in graphic files|parency]]
! [[Metadata|Meta-]]
Line 983 ⟶ 985:
| Lossy and lossless
| {{yes|Both}}
| 8 bpc
| 1, 8, 24, and 32 (possibly with multiple palettes)
| {{yes}}
| {{yes}}
Line 998 ⟶ 1,000:
| [[AV1]] [[Lossy compression|Lossy]] and [[Lossless compression|lossless]]
| {{partial|Raster}}
| 12 bpc
| 1, 8, 10, and 12-bit color depths per channel/alpha. 4:2:0, 4:2:2, 4:4:4 [[chroma subsampling]] and RGB
| {{no}}
| {{yes}}
Line 1,013 ⟶ 1,015:
| None, [[Run-length encoding|RLE]], JPEG, and PNG
| {{partial|Raster}}
| 16 bpc
| 1, 4, 8, 16, 24, 32, and 64
| {{yes}}
| {{yes}}
Line 1,028 ⟶ 1,030:
| [[HEVC]], Lossy and lossless
| {{partial|Raster}}
| 14 bpc
| 8 to 14 bits per channel
| {{no}}
| {{yes}}
Line 1,043 ⟶ 1,045:
| Lossless, ACSC
| {{yes|Both}}
| 16 bpc
| 1, 8, 24, 32 and 64
| {{yes}}
| {{yes}}
Line 1,058 ⟶ 1,060:
| Lossy and lossless
| {{yes|Both}}
| 8 bpc
| 1, 8, 24,and 32 (multiple palettes)
| {{yes}}
| {{yes}}
Line 1,103 ⟶ 1,105:
| None, [[Run-length encoding|RLE]], [[ZIP (file format)|ZIP]], Piz, PXR24, and B44, B44A, DWAA, DWAB
| {{partial|Raster}}
| 32 bpc
| 16–128 ([[IEEE floating-point standard|floating-point]])
| {{no}}
| {{yes}}
Line 1,118 ⟶ 1,120:
| Lossless, MANIAC entropy coding
| {{partial|Raster}}
| 16 bpc
| 1 to 16 bits per channel
| {{yes}}
| {{yes}}
Line 1,133 ⟶ 1,135:
| [[LZW]]
| {{partial|Raster}}
| 255 colors
| Indexed (1bpc to 8bpc) and grayscale (8bpc)
| {{yes}}
| {{yes}}
Line 1,148 ⟶ 1,150:
| Lossy and lossless bi-orthogonal transform
| {{partial|Raster}}
| 32 bpc
| 1, 2, 8, 16, 24, 32, 48, 64<!--, 96-->, and 128 ([[IEEE floating-point standard|floating-point]])
| {{no}}
| {{yes}}
Line 1,163 ⟶ 1,165:
| Optional [[run-length encoding]]
| {{partial|Raster}}
| 8 bpc
| 1, 2, 4, 8, 16, 32, 64, 64 [[Extra Half-Brite|EHB]], 128, 256 ([[8-bit computing|8-bit]]), 4,096 ([[Hold-And-Modify|HAM6]] pseudo 12-bit), 4,096 pure [[12-bit computing|12-bit]], 262, 144 ([[Hold And Modify#Advanced Graphics Architecture HAM mode (HAM8)|HAM8]] pseudo [[18-bit computing|18-bit]]), and [[24-bit computing|24-bit]]
| {{yes}}
| {{no}}
Line 1,178 ⟶ 1,180:
| Lossy (and partly lossless), [[discrete cosine transform|DCT]], [[run-length encoding|RLE]], and [[Huffman coding|Huffman]] predictive nearest neighbor
| {{partial|Raster}}
| 8 bpc
| [[8-bit computing|8-bit]] ([[greyscale]]), 12-bit, and [[24-bit computing|24-bit]]
| {{no}}
| {{no}}
Line 1,193 ⟶ 1,195:
| Lossy and lossless ([[Discrete Wavelet Transform|DWT]])
| {{partial|Raster}}
| 16 bpc
| [[8-bit computing|8-]] and [[16-bit computing|16-bit]] ([[greyscale]]) with possibly color up to [[48-bit computing|48-bit]]
| {{no}}
| {{yes}}
Line 1,208 ⟶ 1,210:
| Lossy and lossless (VarDCT mode, Modular mode)
| {{partial|Raster}}
| 32 bpc
| up to 32 bits per channel
| {{yes}}
| {{yes}}
Line 1,223 ⟶ 1,225:
| None
| {{yes|Both}}
| 32 bpc
| [[grayscale]], [[RGB]], [[XYZ color space|XYZ]] (8bpc, 16bpc, float16bpc, float32bpc), [[CMYK]], [[Lab color space|L*a*b*]] and [[YCbCr]] (8bpc, 16bpc, float32bpc)
| {{no}}
| {{yes}}
Line 1,238 ⟶ 1,240:
| Lossless
| {{yes|Both}}
| 16 bpc
| 1, 2, 4, 8, 16, 24, 32, 48, and 64
| {{yes}}
| {{yes}}
Line 1,268 ⟶ 1,270:
| None, [[Run-length encoding|RLE]]
| {{partial|Raster}}
| 8 bpc
| 1, 2, 4, 8, 24 and 32
| {{yes}}
| {{yes}}
Line 1,283 ⟶ 1,285:
| Lossy and lossless ([[Discrete Wavelet Transform|DWT]])
| {{partial|Raster}}
| 16 bpc
| [[grayscale]]: 1, 8, 16, 31; [[RGB]]: 12, 16, 24, 32, and 48
| {{yes}}
| {{yes}}
Line 1,298 ⟶ 1,300:
| None, [[run-length encoding|RLE]], and QuickTime
| {{yes|Both}}
| 8 bpc
| 1, 2, 4, 8, 16, 24, and 32
| {{yes}}
| {{yes}}
Line 1,313 ⟶ 1,315:
| Lossless and [[deflate]]
| {{partial|Raster}}
| 16 bpc
| [[binary image|bitmap]] (1bpc), [[indexed color|indexed]] (8bpc), [[grayscale]] and [[RGB]] (8bpc, 16bpc)
| {{yes}}
| {{yes}}
Line 1,328 ⟶ 1,330:
| None
| {{partial|Raster}}
| Up8 to 16ppc
| {{no}}
| {{no}}
Line 1,343 ⟶ 1,345:
| None and [[Run-length encoding|RLE]]
| {{yes|Both}}
| 32 bpc
| [[binary image|bitmap]] (1bpc), [[duotone]], [[indexed color|indexed]] (8bpc), [[grayscale]], [[RGB]], [[CMYK]], [[Lab color space|Lab]] and multichannel (8bpc, 16bpc, 32bpc)
| {{yes}}
| {{yes}}
Line 1,358 ⟶ 1,360:
| None
| {{yes|Both}}
| 16 bpc
| 1, 2, 8, 16, 24, 32, and 48
| {{yes}}
| {{yes}}
Line 1,373 ⟶ 1,375:
| None and lossless [[gzip]]
| {{partial|Vector}}{{efn|Supports raster data embedding with the use of [[Base64]].}}
| 8 bpc
| [[RGB]] (8bpc)
| {{no}}
| {{yes}}
Line 1,388 ⟶ 1,390:
| None, [[run-length encoding|RLE]], and other
| {{partial|Raster}}
| 8 bpc
| 1, 2, 4, 8, 16, 24, and 32
| {{yes}}
| {{yes}}
Line 1,403 ⟶ 1,405:
| None, [[LZW]], [[Run-length encoding|RLE]], [[ZIP (file format)|ZIP]], and other
| {{yes|Both}}
| 8 bpc
| 1, 2, 4, 8, 16, 24, and 32
| {{yes}}
| {{yes}}
Line 1,418 ⟶ 1,420:
| Lossy and lossless
| {{partial|Raster}}
| 8 bpc
| [[YUV]]420P (12bpp), [[YUV]]A420P (20bpp) and [[RGB]] (8bpc)
| {{no}}<ref>{{cite web|title=Issue 437: allow palette extraction from indexed lossless images|url=https://bugs.chromium.org/p/webp/issues/detail?id=437|website=WebP issue tracker |access-date=1 December 2020}}</ref><ref>{{cite web |title=Lossless Bitstream Specification, section Color Indexing Transform |url=https://developers.google.com/speed/webp/docs/webp_lossless_bitstream_specification#color_indexing_transform |website=WebP official reference at Google Developers |access-date=1 December 2020}}</ref>
| {{yes}}
Line 1,433 ⟶ 1,435:
| None
| {{partial|Vector}}
| 3216 and 64bpc
| {{no}}
| {{yes}}
Line 1,448 ⟶ 1,450:
| None and lossless ([[gzip]], [[bzip2]] and [[XZ Utils|xz]])
| {{yes|Both}}
| 32 bpc
| [[indexed color|indexed]] (8bpc), [[grayscale]] and [[RGB]] (8bpc, 16bpc, float16bpc, 32bpc, float32bpc, float64bpc)
| {{yes}}
| {{yes}}
Line 1,460 ⟶ 1,462:
| {{yes}}
|- class="sortbottom"
! style="width: 7em;"| Format || [[Compression algorithm]] || [[raster graphics|Raster]]/<br />[[Vector graphics|vector]] || Maximum
[[Color depth|Color]]
[[Color depth|depth]]
! [[Indexed color]] || [[Transparency in graphic files|Trans-parency]] || [[Metadata|Meta-]]