abstract class BMP::Decoder

Direct Known Subclasses

Defined in:

decode.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(bmp : BMP) #

[View source]

Class Method Detail

def self.build(bmp : BMP) #

[View source]

Instance Method Detail

def color(x, y, color : Int32) #

Set the pixel color


[View source]
def color(x, y, color : Color) #

[View source]
abstract def color(x, y) : Color #

Return the pixel color


[View source]
abstract def data(x, y, d : Bytes) #

Set abstract representation of the pixel data


[View source]
abstract def data(x, y) : Bytes #

Return an abstract representation of the pixel data


[View source]
def offset(x, y) #

[View source]