Copyright | (c) Alexey Kuleshevich 2018 |
---|---|
License | BSD3 |
Maintainer | Alexey Kuleshevich <lehins@yandex.ru> |
Stability | experimental |
Portability | non-portable |
Safe Haskell | None |
Language | Haskell2010 |
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.
Eq Bit Source # | |
Num Bit Source # | |
Ord Bit Source # | |
Show Bit Source # | |
Storable Bit Source # | |
Bits Bit Source # | |
Unbox Bit Source # | Unboxing of a |
Elevator Bit Source # | Values: |
Vector Vector Bit Source # | |
MVector MVector Bit Source # | |
ToRGBA X Bit Source # | |
ToRGB X Bit Source # | |
ToYA X Bit Source # | |
Bits (Pixel X Bit) Source # | |
data Vector Bit Source # | |
data MVector s Bit Source # | |
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.