| Copyright | (c) Alexey Kuleshevich 2018-2019 |
|---|---|
| License | BSD3 |
| Maintainer | Alexey Kuleshevich <lehins@yandex.ru> |
| Stability | experimental |
| Portability | non-portable |
| Safe Haskell | None |
| Language | Haskell2010 |
Graphics.ColorSpace.Binary
Description
Documentation
Under the hood, binary pixels are represented as Word8, but can only take
values of 0 or 1. Use zero/one to construct a bit and on/off to
construct a binary pixel.
Instances
Represents value True or 1 in binary. Often also called a foreground
pixel of an object.
Represents value False or 0 in binary. Often also called a background
pixel.