---
title: binary image
slug: binary-image
qid: Q864118
snapshot: binary-image-099387-731e7a8f04d6a0c5
content_hash: 731e7a8f04d6a0c5358cdfe28a98d3012b875d89ee60fcf9db759134dd1a8311
license: CC BY-SA 4.0
source: https://en.wikipedia.org/w/index.php?oldid=1349783406
tags: [100622931, 100622932, 22906457, 23118434, 23603337, 24745108, 29176288, 29264770, 29379983, 63697623, 66257235]
---

# binary image

> [!note] Provenance
> Snapshot `binary-image-099387-731e7a8f04d6a0c5` · content root `731e7a8f04d6a0c5…`
> Derived from <https://en.wikipedia.org/w/index.php?oldid=1349783406> · Licensed CC BY-SA 4.0

sign is the foreground color while the rest of the image is the background color. In the document-scanning industry, this is often referred to as "bi-tonal". A binary image is a digital image that consists of pixels that can have one of exactly two colors, usually black and white. Each pixel is stored as a single bit — i.e. either a 0 or 1. A binary image can be stored in memory as a bitmap: a packed array of bits. A binary image of 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 ⁠ ; the field of morphological image processing was largely inspired by this view.

sign is the foreground color while the rest of the image is the background color. In the document-scanning industry, this is often referred to as "bi-tonal". A binary image is a digital image that consists of pixels that can have one of exactly two colors, usually black and white. Each pixel is stored as a single bit — i.e. either a 0 or 1. A binary image can be stored in memory as a bitmap: a packed array of bits. A binary image of 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 ⁠ ; the field of morphological image processing was largely inspired by this view. ==See also== Black-and-white Dithering Connected-component labeling Discrete tomography Netpbm format JBIG/JBIG2 X BitMap X PixMap Oversampled binary image sensor ==References== ==External links== Monochrome Bitmaps
