- Supported color modes |
+ 支持的颜色模式 |
@@ -432,33 +416,33 @@ Theoretically, several compression algorithms are supported, and the image data
- Greyscale |
+ 灰度 |
1 |
Each bit represents a single pixel, which can be either black or white.
|
- True color |
+ 真彩色 |
8 and 16 |
Each pixel is represented by three values representing the red, green, and blue color components; each is D bits.
|
- Indexed color |
+ 索引颜色 |
2, 4, and 8 |
Each pixel is represented by a value which is one 2, 4, or 8 bits, serving as an index into the color table.
|
- Greyscale with alpha |
+ 带有灰度的真彩色 |
n/a |
BMP has no distinct grayscale format. |
- True color with alpha |
+ 带有透明度的真彩色 |
8 and 16 |
Each pixel is represented by four values representing the red,
@@ -470,13 +454,13 @@ Theoretically, several compression algorithms are supported, and the image data
|
- Compression |
+ 压缩 |
Several compression methods are supported, including lossy or lossless algorithms
|
- Licensing |
+ 授权 |
Covered by the Microsoft Open Specification Promise;
while Microsoft holds patents against BMP, they have published a promise not to assert its patent rights as long as specific conditions are met.
@@ -512,31 +496,31 @@ Typically, modern content should use [PNG](#png_portable_network_graphics) for l
- MIME type |
+ MIME 类型 |
image/gif |
- File extension(s) |
+ 文件扩展名 |
.gif |
- Specification |
+ 规范 |
GIF87a specification GIF89a specification
|
- Browser compatibility |
+ 浏览器兼容性 |
All versions of Chrome, Edge, Firefox, Internet Explorer, Opera, and Safari
|
- Maximum dimensions |
+ 最大尺寸 |
65,536×65,536 pixels |
- Supported color modes |
+ 支持的颜色模式 |
@@ -548,29 +532,29 @@ Typically, modern content should use [PNG](#png_portable_network_graphics) for l
- Greyscale |
+ 灰度 |
n/a |
GIF does not include a dedicated greyscale format. |
- True color |
+ 真彩色 |
n/a |
GIF does not support true color pixels. |
- Indexed color |
+ 索引颜色 |
8 |
Each color in a GIF palette is defined as 8 bits each of red, green, and blue (24 total bits per pixel).
|
- Greyscale with alpha |
+ 带有灰度的真彩色 |
n/a |
GIF does not provide a dedicated greyscale format. |
- True color with alpha |
+ 带有透明度的真彩色 |
n/a |
GIF does not support true color pixels. |
@@ -579,11 +563,11 @@ Typically, modern content should use [PNG](#png_portable_network_graphics) for l
- Compression |
+ 压缩 |
Lossless (LZW) |
- Licensing |
+ 授权 |
While the GIF format itself is open, the LZW compression algorithm was covered by patents until the early 2000s.
As of July 7, 2004, all relevant patents have expired and the GIF format may be used freely
@@ -608,32 +592,32 @@ If you use ICO files, you should use the BMP format, as support for PNG inside I
- MIME type |
+ MIME 类型 |
image/vnd.microsoft.icon (official),
image/x-icon (used by Microsoft)
|
- File extension(s) |
+ 文件扩展名 |
.ico |
- Specification |
+ 规范 |
|
- Browser compatibility |
+ 浏览器兼容性 |
All versions of Chrome, Edge, Firefox, Internet Explorer, Opera, and Safari
|
- Maximum dimensions |
+ 最大尺寸 |
256×256 pixels |
- Supported color modes |
+ 支持的颜色模式 |
@@ -646,33 +630,33 @@ If you use ICO files, you should use the BMP format, as support for PNG inside I
Description |
- Greyscale |
+ 灰度 |
1 |
Each bit represents a single pixel, which can be either black or white.
|
- True color |
+ 真彩色 |
8 and 16 |
Each pixel is represented by three values representing the red, green, and blue color components; each is D bits.
|
- Indexed color |
+ 索引颜色 |
2, 4, and 8 |
Each pixel is represented by a value which is one 2, 4, or 8 bits, serving as an index into the color table.
|
- Greyscale with alpha |
+ 带有灰度的真彩色 |
n/a |
BMP has no distinct grayscale format. |
- True color with alpha |
+ 带有透明度的真彩色 |
8 and 16 |
Each pixel is represented by four values representing the red, green, blue, and alpha color components; each is D bits.
@@ -691,21 +675,21 @@ If you use ICO files, you should use the BMP format, as support for PNG inside I
| Description |
- Greyscale |
+ 灰度 |
1, 2, 4, 8, and 16 |
Each pixel consists of a single D-bit value indicating the brightness of the greyscale pixel.
|
- True color |
+ 真彩色 |
8 and 16 |
Each pixel is represented by three D-bit values indicating the level of the red, green, and blue color components.
|
- Indexed color |
+ 索引颜色 |
1, 2, 4, and 8 |
Each pixel is a D-bit value indicating an index into a color palette which is contained within a
@@ -714,7 +698,7 @@ If you use ICO files, you should use the BMP format, as support for PNG inside I
|
- Greyscale with alpha |
+ 带有灰度的真彩色 |
8 and 16 |
Each pixel is represented by two D-bit values: the
@@ -722,7 +706,7 @@ If you use ICO files, you should use the BMP format, as support for PNG inside I
|
- True color with alpha |
+ 带有透明度的真彩色 |
8 and 16 |
Each pixel is comprised of four D-pixel color
@@ -734,14 +718,14 @@ If you use ICO files, you should use the BMP format, as support for PNG inside I
|
- Compression |
+ 压缩 |
BMP-format icons nearly always use lossless compression, but lossy methods are available.
PNG icons are always compressed losslessly.
|
- Licensing |
+ 授权 |
— |
@@ -758,32 +742,32 @@ The JFIF (**J**PEG **F**ile **I**nterchange **F**ormat) specification describes
- MIME type |
+ MIME 类型 |
image/jpeg |
- File extension(s) |
+ 文件扩展名 |
.jpg , .jpeg , .jpe ,
.jif , .jfif
|
- Specification |
+ 规范 |
jpeg.org/jpeg/ |
- Browser compatibility |
+ 浏览器兼容性 |
All versions of Chrome, Edge, Firefox, Internet Explorer, Opera, and Safari
|
- Maximum dimensions |
+ 最大尺寸 |
65,535×65,535 pixels |
- Supported color modes |
+ 支持的颜色模式 |
@@ -795,29 +779,29 @@ The JFIF (**J**PEG **F**ile **I**nterchange **F**ormat) specification describes
- Greyscale |
+ 灰度 |
n/a |
True greyscale can be supported using the single luma channel (Y). |
- True color |
+ 真彩色 |
8 |
Each pixel is described by the red, blue, and green color components, each of which is 8 bits.
|
- Indexed color |
+ 索引颜色 |
n/a |
JPEG does not offer an indexed color mode. |
- Greyscale with alpha |
+ 带有灰度的真彩色 |
n/a |
JPEG does not support an alpha channel. |
- True color with alpha |
+ 带有透明度的真彩色 |
n/a |
JPEG does not support an alpha channel. |
@@ -826,13 +810,13 @@ The JFIF (**J**PEG **F**ile **I**nterchange **F**ormat) specification describes
- Compression |
+ 压缩 |
Lossy; based on the discrete cosine transform
|
- Licensing |
+ 授权 |
As of October 27, 2006, all United States patents have expired. |
@@ -849,19 +833,19 @@ This slowed PNG adoption, but it is now commonly used, especially when precise r
- MIME type |
+ MIME 类型 |
image/png |
- File extension(s) |
+ 文件扩展名 |
.png |
- Specification |
+ 规范 |
w3.org/TR/PNG |
- Browser compatibility |
+ 浏览器兼容性 |
@@ -926,11 +910,11 @@ This slowed PNG adoption, but it is now commonly used, especially when precise r
- Maximum dimensions |
+ 最大尺寸 |
2,147,483,647×2,147,483,647 pixels |
- Supported color modes |
+ 支持的颜色模式 |
@@ -942,14 +926,14 @@ This slowed PNG adoption, but it is now commonly used, especially when precise r
- Greyscale |
+ 灰度 |
1, 2, 4, 8, and 16 |
Each pixel consists of a single D-bit value indicating the brightness of the greyscale pixel.
|
- True color |
+ 真彩色 |
8 and 16 |
Each pixel is represented by three D-bit values
@@ -958,7 +942,7 @@ This slowed PNG adoption, but it is now commonly used, especially when precise r
|
- Indexed color |
+ 索引颜色 |
1, 2, 4, and 8 |
Each pixel is a D-bit value indicating an index into a color palette which is contained within a
@@ -967,7 +951,7 @@ This slowed PNG adoption, but it is now commonly used, especially when precise r
|
- Greyscale with alpha |
+ 带有灰度的真彩色 |
8 and 16 |
Each pixel is represented by two D-bit values: the
@@ -975,7 +959,7 @@ This slowed PNG adoption, but it is now commonly used, especially when precise r
|
- True color with alpha |
+ 带有透明度的真彩色 |
8 and 16 |
Each pixel is comprised of four D-pixel color components: red, green, blue, and the alpha sample indicating how opaque the pixel is.
@@ -986,11 +970,11 @@ This slowed PNG adoption, but it is now commonly used, especially when precise r
|
- Compression |
+ 压缩 |
Lossless, optionally indexed color like GIF |
- Licensing |
+ 授权 |
©2003 W3C (MIT, ERCIM,
Keio), All Rights Reserved. W3C
@@ -1029,19 +1013,19 @@ It's not generally useful for strictly bitmap or photographic images, although i
- MIME type |
+ MIME 类型 |
image/svg+xml |
- File extension(s) |
+ 文件扩展名 |
.svg |
- Specification |
+ 规范 |
w3.org/TR/SVG2 |
- Browser compatibility |
+ 浏览器兼容性 |
@@ -1081,18 +1065,18 @@ It's not generally useful for strictly bitmap or photographic images, although i
- Maximum dimensions |
+ 最大尺寸 |
Unlimited |
- Supported color modes |
+ 支持的颜色模式 |
Colors in SVG are specified using
CSS color syntax.
|
- Compression |
+ 压缩 |
SVG source may be compressed during transit using
HTTP compression
@@ -1100,7 +1084,7 @@ It's not generally useful for strictly bitmap or photographic images, although i
|
- Licensing |
+ 授权 |
©2018 W3C (
- MIME type |
+ MIME 类型 |
image/tiff |
- File extension(s) |
+ 文件扩展名 |
.tif , .tiff |
- Specification |
+ 规范 |
https://www.adobe.com/devnet-apps/photoshop/fileformatashtml/#50577413_pgfId-1035272
|
- Browser compatibility |
+ 浏览器兼容性 |
No browsers integrate support for TIFF; its value is as a download format
|
- Maximum dimensions |
+ 最大尺寸 |
4,294,967,295×4,294,967,295 pixels (theoretical) |
- Supported color modes |
+ 支持的颜色模式 |
@@ -1197,21 +1181,21 @@ As such, TIFF files are not useful within the context of web content, _but_ it's
- Greyscale |
+ 灰度 |
4 and 8 |
Each pixel consists of a single D-bit value indicating the brightness of the greyscale pixel.
|
- True color |
+ 真彩色 |
8 |
All true color RGB images are stored using 8-bits each of red, green, and blue.
|
- Indexed color |
+ 索引颜色 |
4 and 8 |
Each pixel is an index into a ColorMap record,
@@ -1221,7 +1205,7 @@ As such, TIFF files are not useful within the context of web content, _but_ it's
|
- Greyscale with alpha |
+ 带有灰度的真彩色 |
4 and 8 |
Alpha information is added by specifying that there are more
@@ -1231,7 +1215,7 @@ As such, TIFF files are not useful within the context of web content, _but_ it's
|
- True color with alpha |
+ 带有透明度的真彩色 |
8 |
Alpha information is added by specifying that there are more
@@ -1245,13 +1229,13 @@ As such, TIFF files are not useful within the context of web content, _but_ it's
|
- Compression |
+ 压缩 |
Most TIFF files are uncompressed, but lossless PackBits and LZW compression are supported, as is lossy JPEG compression.
|
- Licensing |
+ 授权 |
No license required (aside from any associated with libraries you might use); all known patents have expired.
|
@@ -1275,15 +1259,15 @@ Provide a fallback in either [JPEG](#jpeg_joint_photographic_experts_group_image
- MIME type |
+ MIME 类型 |
image/webp |
- File extension(s) |
+ 文件扩展名 |
.webp |
- Specification |
+ 规范 |
RIFF Container Specification {{RFC(6386, "VP8 Data Format and Decoding Guide")}}
@@ -1292,7 +1276,7 @@ Provide a fallback in either [JPEG](#jpeg_joint_photographic_experts_group_image
|
- Browser compatibility |
+ 浏览器兼容性 |
@@ -1338,22 +1322,22 @@ Provide a fallback in either [JPEG](#jpeg_joint_photographic_experts_group_image
- Maximum dimensions |
+ 最大尺寸 |
16,383×16,383 pixels |
- Supported color modes |
+ 支持的颜色模式 |
Lossy WebP stores the image in 8-bit Y'CbCr 4:2:0 (YUV420) format.
Lossless WebP uses 8-bit ARGB color, with each component taking 8 bits for a total of 32 bits per pixel.
|
- Compression |
+ 压缩 |
Lossless (Huffman, LZ77, or color cache codes) or lossy (VP8). |
- Licensing |
+ 授权 |
No license required; source code is openly available. |
@@ -1383,27 +1367,27 @@ static unsigned char square8_bits[] = {
- MIME type |
+ MIME 类型 |
image/xbm , image-xbitmap |
- File extension(s) |
+ 文件扩展名 |
.xbm |
- Specification |
+ 规范 |
None |
- Browser compatibility |
+ 浏览器兼容性 |
Firefox 1–3.5, Internet Explorer 1–5 |
- Maximum dimensions |
+ 最大尺寸 |
Unlimited |
- Supported color modes |
+ 支持的颜色模式 |
@@ -1415,27 +1399,27 @@ static unsigned char square8_bits[] = {
- Greyscale |
+ 灰度 |
1 |
Each byte contains eight 1-bit pixels. |
- True color |
+ 真彩色 |
n/a |
n/a |
- Indexed color |
+ 索引颜色 |
n/a |
n/a |
- Greyscale with alpha |
+ 带有灰度的真彩色 |
n/a |
n/a |
- True color with alpha |
+ 带有透明度的真彩色 |
n/a |
n/a |
@@ -1444,11 +1428,11 @@ static unsigned char square8_bits[] = {
- Compression |
+ 压缩 |
Lossless |
- Licensing |
+ 授权 |
Open source |
| | | | | | | | | | | | | |