Bitmap image
A bitmap image is a raster representation of visual content as a grid of individually encoded pixels.
Learn Haskell by Example
A bitmap is an image representation whose pixels have two possible values, typically corresponding to on and off.
- How it is used
- Parses PNM bitmap pixel data as part of constructing an in-memory image representation.
- How deep it goes
- Explains direct ASCII parsing and byte-level binary unpacking, including row padding, then defers correctness checks to validation.
- Examples
- Demonstrates a parser that converts one Word8 into eight Single 0 or Single 1 pixels and a row parser that drops padding bits.
- What you can do after
- Build it from scratch by parsing ASCII bitmap values and unpacking binary PNM rows into raw pixels.
HTML5 in Action
A bitmap is a raster image represented by a fixed grid of pixels.
- How it is used
- Uses bitmap graphics to frame the choice between Canvas and scalable SVG graphics.
- How deep it goes
- Compares formats, scaling, and uses, then explains bitmap-based redraw in a Canvas animation.
- Examples
- Illustrates zooming with a coffee cup and Canvas animation with a moving paddle and ball.
- What you can do after
- Evaluate bitmap and vector approaches for scaling, imagery, and graphics-heavy applications.
Learn Go with Pocket-Sized Projects
A bitmap image represents visual content as a grid of individually colored picture elements.
- How it is used
- Encodes visual or numerical information as exact, addressable pixel values for applications such as maze solving.
- How deep it goes
- Defines grids, pixels, color meanings, formats, coordinate conventions, and Go pixel APIs, but not compression internals.
- Examples
- Uses PNG maze maps, heat maps, MRI tissue density, photographic color, and country-colored map palettes.
- What you can do after
- Operate Go's image APIs to decode, inspect, compare, scan, and modify bitmap pixels.
Read how Learn Go with Pocket-Sized Projects explains bitmap image →
D3.js in Action, Third Edition
A raster graphic is an image represented as a grid of discrete pixels.
- How it is used
- Guides rendering choices for data visualizations requiring performance, complex animation, gradients, or many elements.
- How deep it goes
- Explains pixels, SVG trade-offs, responsive sizing, device density, and context scaling, but defers detailed drawing APIs.
- Examples
- Uses responsive Canvas elements, pixel-density correction, animated visualizations, gradients, and mixed SVG-Canvas projects.
- What you can do after
- Operate/configure Canvas dimensions and resolution for responsive bitmap visualizations.
Read how D3.js in Action, Third Edition explains bitmap image →
Advanced Algorithms and Data Structures
An RGB bitmap image is a raster image whose pixels represent color through red, green, and blue channels.
- How it is used
- Uses bitmap images as RGB data for color reduction and machine-learning image storage.
- How deep it goes
- Defines channels, intensity ranges, memory costs, and palette reduction, but does not detail bitmap file-format internals.
- Examples
- Uses RGB tuples, HD and full-HD resolutions, road-sign images, and a 256-color palette.
- What you can do after
- Apply nearest-neighbor search to map RGB pixels onto a smaller sampled color palette.
Read how Advanced Algorithms and Data Structures explains bitmap image →
Also covered in
- Everyday Data Visualization
- Tiny CSS Projects
- Geometry for Programmers
- How Computers Make Books
- Statistics Slam Dunk
What to know first
- SVGSVG (Scalable Vector Graphics) is an XML-based standard and markup language for describing scalable two-dimensional vector graphics.
- animationAnimation is the presentation of changing visual states over time to create the appearance of motion or change.
- CSSCSS (Cascading Style Sheets) is a stylesheet language for specifying the presentation and layout of structured documents.
- Document Object ModelThe Document Object Model is a platform-independent programming interface that represents a document as a structured tree of nodes and provides ways to access and modify its content and structure.
Related concepts
- vector imagecontrasts with · A vector image represents visual content using mathematically defined geometric shapes and paths rather than a fixed grid of pixels.
- pixelhas part · A pixel is either a discrete image sample carrying visual information at a raster location or, in CSS, an abstract reference unit for rendered dimensions.
- SVGcontrasts with · SVG (Scalable Vector Graphics) is an XML-based standard and markup language for describing scalable two-dimensional vector graphics.
- canvas elementproduced by · The HTML canvas element is a scriptable bitmap drawing surface in a web document, with an API for rendering graphics.
- Adobe Photoshopused by · Adobe Photoshop is a raster-graphics editing application for creating, manipulating, and compositing digital images.
- arrayuses · An array is an ordered collection of elements organized in one or more dimensions and accessible by position or index.
Questions about bitmap image
What is bitmap image?
A bitmap image is a raster representation of visual content as a grid of individually encoded pixels.
Which Manning books explain bitmap image?
Learn Haskell by Example, HTML5 in Action, Learn Go with Pocket-Sized Projects, D3.js in Action, Third Edition and Advanced Algorithms and Data Structures.
What should I know before learning bitmap image?
Manning books that teach bitmap image usually introduce SVG, animation, CSS and Document Object Model first.
What is the difference between bitmap image and vector image?
A bitmap image is a raster representation of visual content as a grid of individually encoded pixels. A vector image represents visual content using mathematically defined geometric shapes and paths rather than a fixed grid of pixels.
What are the parts of bitmap image?
Bitmap image includes pixel.
What is bitmap image also called?
Bitmap image is also called raster images or raster graphics.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.




