Content deleted Content added
Wtshymanski (talk | contribs) not an improvement Undid revision 1017912289 by 91.195.182.240 (talk) |
m Reverted edits by 106.51.56.25 (talk) to last version by 100.36.163.100 |
||
(48 intermediate revisions by 36 users not shown) | |||
Line 1:
{{refimprove|date=April 2024}}
{{Other uses}}
{{Short description|Computing term}}
{{Use American English|date=September 2022}}
In [[computing]], a '''bitmap''' (also called '''raster''') graphic is an image formed from rows of different colored [[pixel]]s.<ref>{{cite web|url=https://kb.iu.edu/d/afmr|title=ARCHIVED: What are bitmap and vector graphics, and how are they different|publisher=University Information Technology Servivces|language=en-US|url-status=live|date=September 22, 2023|access-date=April 21, 2024|archive-date=April 21, 2024|archive-url=https://archive.today/20240421071909/https://kb.iu.edu/d/afmr}}</ref> A [[GIF]] is an example of a graphics image file that uses a bitmap.<ref>{{cite encyclopedia|url=https://www.britannica.com/technology/bitmap|title=bitmap|encyclopedia=[[Encyclopædia Britannica]]|author=Gregersen, Erik|language=en-GB|url-status=live|date=January 26, 2022|access-date=April 21, 2024|archive-date=April 21, 2024 |archive-url=https://archive.today/20240421072042/https://www.britannica.com/technology/bitmap}}</ref>
As a noun, the term "bitmap" is very often used to refer to a particular bitmapping application: the '''pix-map''', which refers to a map of [[pixel]]s, where each one may store more than two colors, thus using more than one bit per pixel. In such a case, the ___domain in question is the array of pixels which constitute a digital graphic output device (a screen or monitor). In some contexts, the term ''bitmap'' implies one bit per pixel, while ''pixmap'' is used for images with multiple bits per pixel.<ref>{{cite book |quote= The term bitmap, strictly speaking, applies only to 1-bit-per-pixel bilevel systems; for multiple-bit-per-pixel systems, we use the more general term pix-map (short for pixel map). |title= Computer Graphics: Principles and Practice |author= James D. Foley |pages= 13 |publisher= Addison-Wesley Professional |year= 1995 |isbn= 0-201-84840-6 |url= https://books.google.com/books?id=A4k29b0BdVMC&q=bitmap+pix map+%22short+for+pixel+map%22&pg=PA13}}</ref><ref>{{cite book |title= Comprehensive Computer Graphics: Including C++ |author= V.K. Pachghare |publisher= Laxmi Publications |pages= 93 |year= 2005 |isbn= 81-7008-185-8 |url= https://books.google.com/books?id=xIKK9RcSTR4C&q=bitmap+pixmap+one-bit+date:2004-2007&pg=PA93}}</ref>▼
▲As a noun, the term "bitmap" is very often used to refer to a particular bitmapping application: the '''pix-map''', which refers to a map of [[pixel]]s, where each
A bitmap is a type of [[computer storage|memory]] organization or [[image file format]] used to store [[digital image]]s. The term ''bitmap'' comes from the [[computer programming]] terminology, meaning just a ''map of bits'', a spatially mapped [[bit array|array of bits]]. Now, along with ''pixmap'', it commonly refers to the similar concept of a spatially mapped array of pixels. [[Raster graphics|Raster]] images in general may be referred to as bitmaps or pixmaps, whether synthetic or photographic, in files or memory.
Many [[graphical user interface]]s use bitmaps in their built-in graphics subsystems
==Pixel storage==
In typical [[image compression|uncompressed]] bitmaps, image [[pixel]]s are generally stored with a variable number of bits per pixel which identify its color
The bits representing the bitmap pixels may be [[packed]] or unpacked (spaced out to byte or word boundaries), depending on the format or device requirements. Depending on the color depth, a pixel in the picture will occupy at least ''n''
For an uncompressed, packed
:<math>\text{size} = \text{width}
where width and height are given in pixels.
In the formula above, header size and [[Palette (computing)|color palette]] size, if any, are not included. Due to effects of row padding to align each row start to a storage unit boundary, such as a [[word (computer architecture)|word]], additional bytes may be needed.
==Device-independent bitmaps and BMP file format==
{{Main|BMP file format}}
[[Microsoft]] has defined a particular representation of color bitmaps of different [[color depth]]s, as an aid to exchanging bitmaps between devices and applications with a variety of internal representations. They called these device-independent bitmaps
<blockquote>
Line 33 ⟶ 37:
{{Main|Image file formats}}
The [[X Window System]] uses a similar [[X Bitmap|XBM]] format for [[black-and-white]] images, and [[X PixMap|XPM]] (''pixelmap'') for
|title= List of bitmap file types |work=
There are also a variety of "raw" image files, which store raw bitmaps with no other information
==See also==
Line 44 ⟶ 48:
*[[Rasterization]]
*[[Sprite (computer graphics)]]
*[[Voxels]]
*[[Vector graphics]]
*[[Image tracing]]
==References==
Line 52 ⟶ 56:
{{Compression formats}}
{{Authority control}}
|