class PNM::PBMImage

Defined in:

pnm/pbm_image.cr

Constant Summary

ASCII_MAGIC_NUMBER = "P1"
BINARY_MAGIC_NUMBER = "P4".bytes

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(width : Int32, height : Int32) #

[View source]

Class Method Detail

def self.from_ascii(ascii) #

[View source]

Instance Method Detail

def [](column, row) #

[View source]
def []=(column, row, value) #

[View source]
def height : Int32 #

[View source]
def to_ascii #

[View source]
def width : Int32 #

[View source]