bitmap

An image stored as a grid of coloured pixels, such as a screenshot.

In more detail

Visual regression tools compare two bitmaps pixel by pixel. Unlike SVG, a bitmap has a fixed resolution, so screenshots taken at different device pixel ratios cannot be compared directly.

Example

In the browser: Rasterization produces bitmaps for each layer, and the GPU combines them. ImageBitmap is the web object for a decoded bitmap that can be moved to a Web Worker without copying.

Related terms

Taught in

References