bitmapencodering
Bitmap encoding refers to the representation of raster images as bitmaps, that is, as a two‑dimensional grid of pixels where each pixel encodes color and, optionally, transparency. The term is used across contexts from in‑memory image representations to stored file formats. In practice, bitmap encoding determines how color information is organized (color depth), how rows are arranged, and how the data is stored or transmitted.
Pixel formats vary by color depth. Common options include 1 bit per pixel for monochrome images, 8
In file formats, a bitmap typically consists of a header with metadata (dimensions, color depth, compression)
Encoding and compression strategies vary. Uncompressed bitmaps are straightforward to decode but can be large. Lossless
See also: bitmap image, raster graphics, image encoding, color depth, run-length encoding.