Information about Bitmap



In computer graphics, a bitmap or pixmap is a type of memory organization or image file format used to store digital images. The term bitmap comes from the computer programming terminology, meaning just a map of bits, a spatially mapped array of bits. Now, along with pixmap, it commonly refers to the similar concept of a spatially mapped array of pixels. Raster images in general may be referred to as bitmaps or pixmaps, whether synthetic or photographic, in files or in memory.

In some contexts, the term bitmap implies one bit per pixel, while pixmap is used for images with multiple bits per pixel.[1][2]

Many graphical user interfaces use bitmaps in their built-in graphics subsystems;[3] 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 for device-independent bitmap). Besides BMP, other file formats that store literal bitmaps include InterLeaved Bitmap (ILBM), Portable Bitmap (PBM), X Bitmap (XBM), and Wireless Application Protocol Bitmap (WBMP). Most other image file formats, such as JPEG, TIFF, PNG, and GIF, to name just a few, store bitmap images (as opposed to vector images), but they are not usually referred to as bitmaps, since they use compressed formats internally.

Pixel storage

In typical uncompressed bitmaps, image pixels are generally stored with a color depth of 1, 4, 8, 16, 24, 32, 48, or 64 bits per pixel. Pixels of 8 bits and fewer can represent either grayscale or indexed color. An alpha channel (for transparency) may be stored in a separate bitmap, where it is similar to a greyscale bitmap, or in a fourth channel that, for example, converts 24-bit images to 32 bits per pixel.

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/8 bytes (n is the bit depth, since 1 byte equals 8 bits).

For an uncompressed, packed within rows, bitmap, such as is stored in Microsoft DIB or BMP file format, or in uncompressed TIFF format, the approximate size for a n-bit-per-pixel (2n colors) bitmap, in bytes, can be calculated as:

, where height and width are given in pixels.


In the formula above, header size and 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, additional bytes may be needed.

Device-independent bitmaps and BMP file format

Main article: BMP file format


Microsoft has defined a particular representation of color bitmaps of different color depths, as an aid to exchanging bitmaps between devices and applications with a variety of internal representations. They called these device-independent bitmaps or DIBs, and the file format for them is called DIB file format or BMP file format. According to Microsoft support:[4]

A device-independent bitmap (DIB) is a format used to define device-independent bitmaps in various color resolutions. The main purpose of DIBs is to allow bitmaps to be moved from one device to another (hence, the device-independent part of the name). A DIB is an external format, in contrast to a device-dependent bitmap, which appears in the system as a bitmap object (created by an application...). A DIB is normally transported in metafiles (usually using the StretchDIBits() function), BMP files, and the Clipboard (CF_DIB data format).


Here, "device independent" refers to the format, or storage arrangement, and should not be confused with device-independent color.

Other bitmap file formats

Main article: Image file formats


The X Window System uses a similar XBM format for black-and-white images, and XPM (pixelmap) for color images. Numerous other uncompressed bitmap file formats are in use, though most not widely.[5] Much more common are the standardized compressed bitmap files such as GIF, PNG, TIFF, and JPEG.[6] TIFF and JPEG have various options. JPEG is usually lossy compression. TIFF is usually either uncompressed, or losslessly Lempel-Ziv-Welch compressed like GIF. PNG uses deflate lossless compression, another Lempel-Ziv variant.

There are also a variety of "raw" image files, which store raw bitmaps with no other information; such raw files are just bitmaps in files, often with no header or size information, and should not be confused with photographic raw image formats, which store raw unprocessed sensor data in a structured container such as TIFF format along with extensive image metadata.

See also

References

1. ^ James D. Foley (1995). Computer Graphics: Principles and Practice. Addison-Wesley Professional, p.13. ISBN 0201848406. “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 pixmap (short for pixel map). 
2. ^ V.K. Pachghare (2005). Comprehensive Computer Graphics: Including C++. Laxmi Publications, p.93. ISBN 8170081858. 
3. ^ Julian Smart, Stefan Csomor, and Kevin Hock (2006). Cross-Platform GUI Programming with Wxwidgets. Prentice Hall. ISBN 0131473816. 
4. ^ DIBs and Their Uses. Microsoft Help and Support (2005-02-11).
5. ^ List of bitmap file types. Search File-Extensions.org.
6. ^ J. Thomas, A. Jones (2006). Communicating Science Effectively: a practical handbook for integrating visual elements. IWA Publishing. ISBN 1843391252. 


raster graphics image, digital image, or bitmap, is a data structure representing a generally rectangular grid of pixels, or points of color, viewable via a computer monitor, paper, or other display medium.
..... Click the link for more information.
Windows Bitmap

File extension: .bmp or .dib
MIME type: image/x-ms-bmp (unofficial)
Type code: 'BMP '
Uniform Type Identifier: com.microsoft.
..... Click the link for more information.
Computer graphics is a sub-field of computer science and is concerned with digitally synthesizing and manipulating visual content. Although the term often refers to three-dimensional computer graphics, it also encompasses two-dimensional graphics and image processing.
..... Click the link for more information.
Computer data storage, computer memory, and often casually storage or memory refer to computer components, devices and recording media that retain digital data used for computing for some interval of time.
..... Click the link for more information.
This is a comparison of image file formats.

General

Ownership of the format and related information.
Format Full name Owner File extension MIME type Application Patented
ADRG ARC Digitized Raster Graphics .adrg
ADRI ARC Digitized Raster Images .
..... Click the link for more information.
A digital image is a representation of a two-dimensional image as a finite set of digital values, called picture elements or pixels. The digital image contains a fixed number of rows and columns of pixels.
..... Click the link for more information.
Computer programming (often shortened to programming or coding) is the process of writing, testing, and maintaining the source code of computer programs. The source code is written in a programming language.
..... Click the link for more information.
A bit array (or bitmap, in some cases) is an array data structure which compactly stores individual bits (boolean values). It implements a simple set data structure storing a subset of and is effective at exploiting bit-level parallelism in hardware to perform operations
..... Click the link for more information.
pixel (short for picture element, using the common abbreviation "pix" for "pictures") is a single point in a graphic image. Each such information element is not really a dot, nor a square, but an abstract sample.
..... Click the link for more information.
raster graphics image, digital image, or bitmap, is a data structure representing a generally rectangular grid of pixels, or points of color, viewable via a computer monitor, paper, or other display medium.
..... Click the link for more information.
graphical user interface (GUI) is a type of user interface which allows people to interact with a computer and computer-controlled devices which employ graphical icons, visual indicators or special graphical elements called "widgets", along with text, labels or text
..... Click the link for more information.
Microsoft Windows

Screenshot of Windows Vista Ultimate, the latest version of Microsoft Windows.
Company/developer: Microsoft Corporation
OS family: MS-DOS/9x-based, Windows CE, Windows NT
Source model: Closed source

..... Click the link for more information.
OS/2 is a computer operating system, initially created by Microsoft and IBM, then later developed by IBM exclusively. The name stands for "Operating System/2," because it was introduced as the preferred operating system for IBM's "Personal System/2 (PS/2)" line of
..... Click the link for more information.
graphics device interface is a subsystem that most operating systems use for representing graphical objects and transmitting them to output devices such as monitors and printers.
..... Click the link for more information.
A filename extension is a suffix to the name of a computer file applied to indicate its type. It is commonly used to infer information about what sort of data might be stored in the file.
..... Click the link for more information.
ILBM is a subtype of the Interchange File Format (IFF) used for storing picture data. ILBM stands for InterLeaved BitMap which refers to the way the pictures are stored.
..... Click the link for more information.
Portable pixmap

File extension: .ppm, .pgm, .pbm, .pnm
MIME type: image/x-portable-pixmap, -graymap, -bitmap, -anymap all unofficial

Developed by: Jef Poskanzer
..... Click the link for more information.
X BitMap

File extension: .xbm
MIME type: image/x-xbitmap  unofficial
image/x-xbm  unofficial
Type of format: Image file formats
..... Click the link for more information.
Wireless Bitmap

File extension: .wbmp
MIME type: image/vnd.wap.wbmp
Developed by: WAP Forum
Type of format: Image file formats Wireless Application Protocol Bitmap Format (shortened to Wireless Bitmap
..... Click the link for more information.
JPEG

A photo of a flower compressed with successively more lossy compression ratios from left to right.
File extension: .jpeg, .jpg, .jpe
.jfif, .jfi, .

..... Click the link for more information.
Tagged Image File Format

File extension: .tiff, .tif
MIME type: image/tiff, image/tiff-fx
Type code: TIFF
Uniform Type Identifier: public.
..... Click the link for more information.
PNG may stand for:
  • Papua New Guinea, a country in Oceania, occupying the eastern half of the island of New Guinea and numerous off-shore islands.
  • Portable Network Graphics, a bitmapped image format that employs lossless data compression.

..... Click the link for more information.
Graphics Interchange Format

A rotating globe in GIF format. The gradient blue areas of this image transition choppily, a common artifact produced when dithering is not employed.
File extension: .
..... Click the link for more information.
Image compression is the application of Data compression on digital images. In effect, the objective is to reduce redundancy of the image data in order to be able to store or transmit data in an efficient form.

Image compression can be lossy or lossless.
..... Click the link for more information.
Image compression is the application of Data compression on digital images. In effect, the objective is to reduce redundancy of the image data in order to be able to store or transmit data in an efficient form.

Image compression can be lossy or lossless.
..... Click the link for more information.
pixel (short for picture element, using the common abbreviation "pix" for "pictures") is a single point in a graphic image. Each such information element is not really a dot, nor a square, but an abstract sample.
..... Click the link for more information.
Color depth is a computer graphics term describing the number of bits used to represent the color of a single pixel in a bitmapped image or video frame buffer. This concept is also known as bits per pixel (bpp), particularly when specified along with the number of bits used.
..... Click the link for more information.
In computing, a grayscale or greyscale digital image is an image in which the value of each pixel is a single sample. Displayed images of this sort are typically composed of shades of gray, varying from black at the weakest intensity to white at the strongest, though in
..... Click the link for more information.
Indexed color or named color is a type of color space for digital images. Whereas an RGB image specifies a red, green, and blue value separately for each pixel in the image, an indexed color image maintains a table that defines a number of predefined colors, and each pixel
..... Click the link for more information.
In computer graphics, alpha compositing is the process of combining an image with a background to create the appearance of partial transparency. It is often useful to render image elements in separate passes, and then combine the resulting multiple 2D images into a single, final
..... Click the link for more information.


This article is copied from an article on Wikipedia.org - the free encyclopedia created and edited by online user community. The text was not checked or edited by anyone on our staff. Although the vast majority of the wikipedia encyclopedia articles provide accurate and timely information please do not assume the accuracy of any particular article. This article is distributed under the terms of GNU Free Documentation License.
Herod_Archelaus


page counter