class BMP::Bpp4Decoder
- BMP::Bpp4Decoder
- BMP::Decoder
- Reference
- Object
Defined in:
decode.crConstant Summary
-
DATA =
{{ (0...16).map do |i| "Bytes[#{i}u8]".id end }}
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