Lably
Skip to content

Binary image

Image comprising exactly two colors, typically black and white

  • 6 min read
  • 3 chapters

Related on Lably

Through Pixel, Digital image processing and Pixel art

A binary image can be stored in memory as a bitmap: a packed array of bits. A binary image of 640 × 480 pixels has a file size of only 37.5 KiB, and most also compress well with simple run-length compression. A binary image format is often used in contexts where it is important to have a small file size for transmission or storage, or due to color limitations on displays or printers.

It also has technical and artistic applications, for example in digital image processing and pixel art. Binary images can be interpreted as subsets of the two-dimensional integer lattice ⁠⁠Z2⁠; the field of morphological image processing was largely inspired by this view.

Terminology

Binary images are also called bi-level or two-level. Pixel art made up of two colours is often referred to as 1-bit in reference to the single bit required to store each pixel. The names black-and-white, B&W, monochrome or monochromatic are often used, but can also designate other image types with only one sample per pixel, such as grayscale images. In Photoshop parlance, a binary image is the same as an image in "Bitmap" color mode.

Sign in to keep reading

2 more chapters are free with a Lably account.

More in Computing and communication