class BMP::Bpp1Decoder
- BMP::Bpp1Decoder
- BMP::Decoder
- Reference
- Object
Defined in:
decode.crConstant Summary
-
DATA =
[DATA_0, DATA_1]
-
DATA_0 =
Bytes.new(1, 0_u8)
-
DATA_1 =
Bytes.new(1, 0_u8)
Instance Method Summary
-
#color(x, y, color : Int32)
Set the pixel color
-
#color(x, y) : Color
Return the pixel color
-
#data(x, y, d : Bytes)
Set abstract representation of the pixel data
-
#data(x, y) : Bytes
Return an abstract representation of the pixel data
Instance methods inherited from class BMP::Decoder
color(x, y, color : Int32)color(x, y, color : Color)
color(x, y) : Color color, data(x, y, d : Bytes)
data(x, y) : Bytes data, offset(x, y) offset
Constructor methods inherited from class BMP::Decoder
new(bmp : BMP)
new
Class methods inherited from class BMP::Decoder
build(bmp : BMP)
build
Instance Method Detail
Description copied from class BMP::Decoder
Return the pixel color
def data(x, y, d : Bytes)
#
Description copied from class BMP::Decoder
Set abstract representation of the pixel data
def data(x, y) : Bytes
#
Description copied from class BMP::Decoder
Return an abstract representation of the pixel data