Share to: share facebook share twitter share wa share telegram print page

Bitmap

In computing, a bitmap (also called raster) graphic is an image formed from rows of different colored pixels.[1] A GIF is an example of a graphics image file that uses a bitmap.[2]

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 pixels, where each pixel 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, whereas pixmap is used for images with multiple bits per pixel.[3][4]

A bitmap 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 memory.

Many graphical user interfaces use bitmaps in their built-in graphics subsystems.[5] For example, the Microsoft Windows and OS/2 platforms' GDI subsystem uses the Windows and OS/2 bitmap file format, usually named with the file extension .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). Similarly, most other image file formats, such as JPEG, TIFF, PNG, and GIF, also store bitmap images (as opposed to vector graphics), 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 variable number of bits per pixel which identify its color (the color depth). 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 grayscale 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, where n is the bit depth.

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

where width and height 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

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 "DIBs", and the file format for them is called DIB file format or BMP file format. According to Microsoft support:[6]

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

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.[7] For most purposes, standardized compressed bitmap files such as GIF, PNG, TIFF, and JPEG are used. Lossless compression in particular provides the same information as a bitmap in a smaller file size.[8] TIFF and JPEG have various options. JPEG is usually lossy compression. TIFF is usually either uncompressed, or lossless 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 (they are distinct from 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. ^ "ARCHIVED: What are bitmap and vector graphics, and how are they different". University Information Technology Servivces. September 22, 2023. Archived from the original on April 21, 2024. Retrieved April 21, 2024.
  2. ^ Gregersen, Erik (January 26, 2022). "bitmap". Encyclopædia Britannica. Archived from the original on April 21, 2024. Retrieved April 21, 2024.
  3. ^ James D. Foley (1995). Computer Graphics: Principles and Practice. Addison-Wesley Professional. p. 13. ISBN 0-201-84840-6. 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).
  4. ^ V.K. Pachghare (2005). Comprehensive Computer Graphics: Including C++. Laxmi Publications. p. 93. ISBN 81-7008-185-8.
  5. ^ Julian Smart; Stefan Csomor & Kevin Hock (2006). Cross-Platform GUI Programming with Wxwidgets. Prentice Hall. ISBN 0-13-147381-6.
  6. ^ "DIBs and Their Uses". Microsoft Help and Support. 2005-02-11.
  7. ^ "List of bitmap file types". File-Extensions.org.
  8. ^ J. Thomas; A. Jones (2006). Communicating Science Effectively: a practical handbook for integrating visual elements. IWA Publishing. ISBN 1-84339-125-2.

Read other articles:

Sin Fotografía publicitaria de Bara para la película.Ficha técnicaDirección Herbert BrenonFotografía Phil RosenProtagonistas Theda BaraWarner OlandWilliam E. Shay Ver todos los créditos (IMDb)Datos y cifrasPaís Estados UnidosAño 1915Género dramaDuración 50 minutosIdioma(s) película mudaCompañíasProductora Fox FilmDistribución Fox FilmFicha en IMDb[editar datos en Wikidata] Sin (en español, Pecado) es una película muda dramática estadounidense de 1915 escrita y dirigida…

Alat musik calung Sunda. Calung (Sunda: ᮎᮜᮥᮀ) adalah alat musik purwarupa jenis idiofon yang terbuat dari bambu. Alat musik ini adalah musik tradisional yang awalnya berkembang dari masyarakat Sunda,[1] yang juga dikenal dengan angklung yang dimainkan dengan cara digoyangkan, cara menabuh calung adalah dengan memukul bilah atau ruas (tabung bambu) yang tersusun menurut titi laras (tangga nada) pentatonik (da-mi-na-ti-la untuk masyarakat Sunda). Jenis bambu untuk pembuatan calung …

 Nota: Para outros significados, veja Teodoro. Teodoro III Teodoro III da Rússia Czar da Rússia Reinado 8 de fevereiro de 1676a 7 de maio de 1682 Coroação 18 de junho de 1676 Antecessor(a) Aleixo Sucessores Ivan V e Pedro I   Nascimento 9 de junho de 1661   Moscou, Rússia Morte 7 de maio de 1682 (20 anos)   Moscou, Rússia Sepultado em Catedral do Arcanjo São Miguel, Moscou, Rússia Nome completo Teodoro Alexeievich Romanov Esposas Agáfia GrushetskaiaMarta Ap…

Raja Edward VIII dari Britania RayaKepala Persemakmuran Adipati WindsorPotret resmi, 1937Raja Britania Raya dan Irlandia Utara Serta wilayah Alam Persemakmuran & Kaisar IndiaBerkuasa20 Januari 1936 – 11 Desember 1936(326 hari)PendahuluGeorge VPenerusGeorge VIPerdana Menteri Lihat daftar Joseph Aloysius LyonsWilliam Lyon Mackenzie KingÉamon de ValeraMichael Joseph SavageJames CraigJ. B. M. HertzogGodfrey HugginsStanley Baldwin Informasi pribadiKelahiranPangeran Edward dari York(1…

Ole Forfang Datos personalesNacimiento Oslo (Noruega)22 de marzo de 1995 (28 años)País Noruega NoruegaNacionalidad(es) NoruegaCarrera deportivaDeporte CiclismoDisciplina CarreteraTrayectoria Equipos amateur 2014 Lillehammer CK Equipos profesionales 20152016-2019 Ringeriks-KraftJoker [editar datos en Wikidata] Ole Forfang (Oslo, Noruega, 22 de marzo de 1995) es un ciclista noruego que fue profesional entre 2015 y 2019.[1]​ Palmarés 2019 Tour de Normandía, más 1 etapa[2]&…

Purwakarta beralih ke halaman ini, yang bukan mengenai Purwokerto. Untuk kegunaan lain, lihat Purwakarta (disambiguasi). Kabupaten PurwakartaKabupatenTranskripsi bahasa daerah • Aksara SundaᮕᮥᮁᮝᮊᮁᮒPatung di taman Sri Baduga Maharaja Purwakarta LambangEtimologi: Purwa + KartaMotto: Wibawa karta raharja(Sunda) Berwibawa, damai, dan sejahteraPetaPurwakartaPetaTampilkan peta Jawa BaratPurwakartaPurwakarta (Indonesia)Tampilkan peta IndonesiaKoordinat: 6°32′19″…

تحتاج هذه المقالة إلى الاستشهاد بمصادر إضافية لتحسين وثوقيتها. فضلاً ساهم في تطوير هذه المقالة بإضافة استشهادات من مصادر موثوقة. من الممكن التشكيك بالمعلومات غير المنسوبة إلى مصدر وإزالتها. (يناير 2019) فيرجينيا مايو (بالإنجليزية: Virginia Mayo)‏    معلومات شخصية اسم الولادة (ب

Wuppertal-Barmen Empfangsgebäude am Hans-Dietrich-Genscher-PlatzEmpfangsgebäude am Hans-Dietrich-Genscher-Platz Daten Betriebsstellenart Haltepunkt Bahnsteiggleise 4 Abkürzung KWBA IBNR 8006596 Preisklasse 4 Eröffnung 1847 bahnhof.de Wuppertal-Barmen-1037000 Lage Stadt/Gemeinde Wuppertal Ort/Ortsteil Barmen Land Nordrhein-Westfalen Staat Deutschland Koordinaten 51° 16′ 2″ N, 7° 11′ 40″ O51.2672227.194444Koordinaten: 51° 16′ 2″ N, 7

جزيرة أيو جزيرة أيو ضمن جزر أيو في أعلى الخريطة معلومات جغرافية الموقع  إندونيسيا، جنوب شرق آسيا الإحداثيات 0°22′37″N 131°02′54″E / 0.377°N 131.0483556°E / 0.377; 131.0483556[1]  الأرخبيل جزر أيو مجموع الجزر 5 جزر (اثنان غير مأهولات) المساحة 90،74 كم² (5،06 كم² أرض + 85،68 كم² ماء) أعل

Gottfried Leibniz, filósofo alemán que acuñó el término teodicea. La teodicea (del griego θεός -dios- + δίκη -justicia-) es una rama de la filosofía cuyo objetivo es la demostración racional de la existencia de Dios mediante razonamientos, así como la descripción análoga de su naturaleza y atributos. Etimológicamente hablando, Teodicea es «justificación de Dios», y por tanto se enmarca en el ámbito más amplio de la teología natural, aunque a menudo estos dos términos se…

Not to be confused with Order of the Star of Italian Solidarity. AwardColonial Order of the Star of ItalyThe insignia of the colonial orderTypeState OrderAwarded forService in the Italian coloniesPresented by Kingdom of ItalyStatusNo longer awardedEstablished18 January 1914Last awarded2 June 1946 The Colonial Order of the Star of Italy (Italian: Ordine coloniale della Stella d'Italia [ˈordine koloˈnjaːle della ˈstεlla diˈtaːlja]) was founded as a colonial order of chivalry on…

Artikel ini sebatang kara, artinya tidak ada artikel lain yang memiliki pranala balik ke halaman ini.Bantulah menambah pranala ke artikel ini dari artikel yang berhubungan atau coba peralatan pencari pranala.Tag ini diberikan pada November 2022. Beatrice PalnerLahir(1938-01-31)31 Januari 1938Helsingør, DenmarkMeninggal4 April 2013(2013-04-04) (umur 75)PekerjaanPemeranTahun aktif1961-1989 Beatrice Palner (31 Januari 1938 – 4 April 2013)[1] adalah seorang aktris …

Fort of São Lourenço do BugioForte de São Lourenço do BugioRiver Tagus estuary, Lisbon District, Portugal Coordinates38°39′37″N 9°17′55″W / 38.66028°N 9.29861°W / 38.66028; -9.29861TypeFortSite informationOwnerGovernment of PortugalOpen tothe publicNoConditionRestoredSite historyBuilt1590-1657 with subsequent modificationsBuilt byVariousIn useLighthouseMaterialsBasaltBattles/warsPeninsular War, Liberal Wars The Fort of São Lourenço do…

Church in North Yorkshire, EnglandSt Mary'sChurch of St Mary, Studley RoyalSt Mary's Church, Studley Royal (December 2009)St Mary'sLocation in North Yorkshire54°07′07″N 1°34′49″W / 54.11874°N 1.58021°W / 54.11874; -1.58021LocationStudley Royal, North YorkshireCountryEnglandDenominationAnglicanHistoryFounded1871-8ArchitectureHeritage designationListed building - Grade IArchitect(s)William BurgesArchitectural typeGothic RevivalStyleEarly English The Church of St…

Anamniotes Trouts spawning showing typical anamniote external fertilization Anamniotes have a distinct larval stage, such as in the smooth newt. Klasifikasi ilmiah Kelompok yang termasuk Jawless fishes Cartilaginous fishes Bony fishes Amphibians Kelompok yang tidak termasuk Amniotes Anamniotes adalah kelompok informal yang terdiri dari ikan dan amfibi, yang disebut rendah vertebrata , yang terletak mereka telur dalam air. Mereka dibedakan dari amniote, vertebrata tingkat tinggi ( reptilia, burun…

American professor This article is an orphan, as no other articles link to it. Please introduce links to this page from related articles; try the Find link tool for suggestions. (June 2016) Animesh Ray is a professor of computational and molecular biology at Keck Graduate Institute. Early life Animesh Ray was born in a suburb of Calcutta (now Kolkata), which used to be a French colony in India, to parents both of whom had their ancestral homes in East Bengal (now Bangladesh). He studied in a Ben…

Podoficerska Szkoła Łączności – szkoła Wojska Polskiego II Rzeczypospolitej Polskiej. Działała w okresie II Rzeczypospolitej (do 1939 roku). Szkoliła podoficerów wszystkich rodzajów wojsk w ówczesnych technikach łączności (m.in. w komunikacji za pomocą gołębi pocztowych i sygnałów świetlnych). Szkoła mieściła się w dawnym klasztorze w Krasnymstawie. pdeSzkolnictwo wojskowe w II Rzeczypospolitej Centrum Wyższych Studiów Wojskowych Wyższa Szkoła Wojenna Centra Artyler…

 2002年オーストリアグランプリレース詳細 2002年F1世界選手権全17戦の第6戦 日程 2002年シーズン決勝開催日 5月12日開催地 A1リンクオーストリア シュピールベルクコース Permanent racing facilityコース長 4.318レース距離 307.146km決勝日天候 Clear, Air Temp: °Cポールポジションドライバー ルーベンス・バリチェロ フェラーリタイム 1:08.082ファステストラップドライバー ミハエル・…

French West Indian Algerian psychiatrist and philosopher (1925–1961) Frantz FanonBornFrantz Omar Fanon20 July 1925 (1925-07-20)Fort-de-France, Martinique, French West IndiesDied6 December 1961(1961-12-06) (aged 36)Bethesda, Maryland, U.S.Alma materUniversity of LyonNotable workBlack Skin, White MasksThe Wretched of the EarthSpouseJosie FanonRegionAfricana philosophySchoolMarxismBlack existentialismCritical theoryExistential phenomenologyMain interestsDecolonization and postcolon…

Location of Westchester County in New York Map all coordinates using: OpenStreetMap Download coordinates as: KML GPX (all coordinates) GPX (primary coordinates) GPX (secondary coordinates) This is a list of the National Register of Historic Places listings in northern Westchester County, New York, excluding the city of Peekskill, which has its own list. This is intended to be a complete list of the properties and districts on the National Register of Historic Places in the northern half of Westc…

Kembali kehalaman sebelumnya

Lokasi Pengunjung: 3.17.78.11