Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /homepages/17/d4295017091/htdocs/paag_dennisbusch_de/inc/parser/handler.php on line 1552

Warning: Cannot modify header information - headers already sent by (output started at /homepages/17/d4295017091/htdocs/paag_dennisbusch_de/inc/parser/handler.php:1552) in /homepages/17/d4295017091/htdocs/paag_dennisbusch_de/inc/actions.php on line 38

Warning: Cannot modify header information - headers already sent by (output started at /homepages/17/d4295017091/htdocs/paag_dennisbusch_de/inc/parser/handler.php:1552) in /homepages/17/d4295017091/htdocs/paag_dennisbusch_de/lib/tpl/paag/main.php on line 12
bitmap_and_bitdepth [Pixels And Art Glossary]

User Tools

Site Tools


bitmap_and_bitdepth
a) 1bpp
b) 2bpp
c) 2bpp wide pixels
d) shared palette

A bitmap is literally a map containing bits, just zeroes and ones. How the bits are interpreted (“mapped to” a visual image) depends entirely on the graphic mode used to display the bits.

The bitdepth of a mode refers to how many bits are used to define the information for a single pixel in the bitmap.

The short notation to describe the bitdepth of a digital image/bitmap is bpp (bits per pixel).

In an indexed image, the bitdepth directly defines the maximum number of different colors any pixel can be: It is “two to the power of bpp”, provided the palette contains that many distinct colors.

All three modes in the example here use an identical bitmap.

further reading:

bitmap_and_bitdepth.txt · Last modified: 2019/11/10 17:01 (external edit)