class BMP::LightOSXInfoHeader

Overview

TODO if mutated any other field, transform, call OSXInfoHeader.write instead ?

Defined in:

bmp.cr
parse.cr
write.cr

Constructors

Instance Method Summary

Instance methods inherited from class BMP::OSXInfoHeader

app_identifier : UInt32 app_identifier, app_identifier=(app_identifier : UInt32) app_identifier=, bit_fill_origin : BitFillOrigin bit_fill_origin, bit_fill_origin=(bit_fill_origin : BitFillOrigin) bit_fill_origin=, color_table_encoding : ColorTableEncoding color_table_encoding, color_table_encoding=(color_table_encoding : ColorTableEncoding) color_table_encoding=, halftoning : HalftoningAlgorithm halftoning, halftoning=(halftoning : HalftoningAlgorithm) halftoning=, halftoning_parameter_1 : UInt32 halftoning_parameter_1, halftoning_parameter_1=(halftoning_parameter_1 : UInt32) halftoning_parameter_1=, halftoning_parameter_2 : UInt32 halftoning_parameter_2, halftoning_parameter_2=(halftoning_parameter_2 : UInt32) halftoning_parameter_2=, padding : UInt16 padding, padding=(padding : UInt16) padding=, resolution_unit : ResolutionUnit resolution_unit, resolution_unit=(resolution_unit : ResolutionUnit) resolution_unit=, write(io : IO) write

Constructor methods inherited from class BMP::OSXInfoHeader

new(io : IO) new

Instance methods inherited from class BMP::InfoHeader

bit_per_pixel : BitPerPixel bit_per_pixel, bit_per_pixel=(bit_per_pixel : BitPerPixel) bit_per_pixel=, colors_used : UInt32 colors_used, colors_used=(colors_used : UInt32) colors_used=, compression : Compression compression, compression=(compression : Compression) compression=, height : UInt32 height, height=(height : UInt32) height=, image_size : UInt32 image_size, image_size=(image_size : UInt32) image_size=, important_colors : UInt32 important_colors, important_colors=(important_colors : UInt32) important_colors=, planes : UInt16 planes, planes=(planes : UInt16) planes=, width : UInt32 width, width=(width : UInt32) width=, write(io : IO) write, x_pixel_per_m : UInt32 x_pixel_per_m, x_pixel_per_m=(x_pixel_per_m : UInt32) x_pixel_per_m=, y_pixel_per_m : UInt32 y_pixel_per_m, y_pixel_per_m=(y_pixel_per_m : UInt32) y_pixel_per_m=

Constructor methods inherited from class BMP::InfoHeader

new(width : UInt32, height : UInt32, bit_per_pixel : BMP::BitPerPixel)
new(io : IO)
new

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(io : IO) #

[View source]

Instance Method Detail

def write(io : IO) #

[View source]