class BMP::InfoHeader

Direct Known Subclasses

Defined in:

bmp.cr
build.cr
parse.cr
write.cr

Constructors

Instance Method Summary

Instance methods inherited from class BMP::Header

bit_per_pixel bit_per_pixel, height height, width width, write(io : IO) write

Constructor Detail

def self.new(width : UInt32, height : UInt32, bit_per_pixel : BMP::BitPerPixel) #

[View source]
def self.new(io : IO) #

[View source]

Instance Method Detail

def bit_per_pixel : BitPerPixel #

[View source]
def bit_per_pixel=(bit_per_pixel : BitPerPixel) #

[View source]
def colors_used : UInt32 #

[View source]
def colors_used=(colors_used : UInt32) #

[View source]
def compression : Compression #

[View source]
def compression=(compression : Compression) #

[View source]
def height : UInt32 #

[View source]
def height=(height : UInt32) #

[View source]
def image_size : UInt32 #

[View source]
def image_size=(image_size : UInt32) #

[View source]
def important_colors : UInt32 #

[View source]
def important_colors=(important_colors : UInt32) #

[View source]
def planes : UInt16 #

[View source]
def planes=(planes : UInt16) #

[View source]
def width : UInt32 #

[View source]
def width=(width : UInt32) #

[View source]
def write(io : IO) #

[View source]
def x_pixel_per_m : UInt32 #

[View source]
def x_pixel_per_m=(x_pixel_per_m : UInt32) #

[View source]
def y_pixel_per_m : UInt32 #

[View source]
def y_pixel_per_m=(y_pixel_per_m : UInt32) #

[View source]