- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
BMP fileformat
BMP file format
From Wikipedia, the free encyclopedia
Jump to: navigation, search
Windows Bitmap Filename extension .bmp or .dib Internet media type image/x-ms-bmp unofficial or
image/x-bmp unofficial Type code BMP BMPfBMPp Uniform Type Identifier com.microsoft.bmp Type of format Raster graphics The BMP file format, sometimes called bitmap or DIB file format for device-independent bitmap , is an image file format used to store bitmap digital images, especially on Microsoft Windows and OS/2 operating systems.
Many older graphical user interfaces used bitmaps in their built-in graphics subsystems;[1] for example, the Microsoft Windows and OS/2 platforms GDI subsystem, where the specific format used is the Windows and OS/2 bitmap file format, usually named with the file extension of .BMP or .DIB.
Contents
[hide]
1 Pixel storage
2 Device-independent bitmaps and BMP file format
2.1 DIBs in memory
2.2 BMP File Header
2.3 Bitmap Information DIB header
2.4 Color palette
2.5 Bitmap data
2.6 Example of a 2×2 Pixel, 24-Bit Bitmap Windows V3 DIB
3 Usage of BMP format
4 Related formats
5 See also
6 References
7 External links [edit] Pixel storage
In uncompressed BMP files, and many other bitmap file formats, image pixels are stored with a color depth of 1, 4, 8, 16, 24, or 32 bits per pixel BPP . An alpha channel for transparency may be stored in a separate file, where it is similar to a grayscale image, or in a fourth channel that converts 24-bit images to 32 bits per pixel.
Uncompressed bitmap files such as unindexed[2] BMP are typically much larger than compressed with any of various methods image file formats for the same image. For example, the 1058×1058 Wikipedia logo, which occupies about 271 KB in the lossless PNG format, takes about 3358 KB as a 24-bit BMP file. Uncompressed formats are generally unsuitable for transferring images on the Internet or other slow or capacity-limited media.
The bits representing the bitmap pixels are
文档评论(0)