struct StumpyTGA::Header

Defined in:

stumpy_tga/header.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(id_length : UInt8, color_map_type : UInt8, image_type : UInt8, color_map : StumpyTGA::ColorMapSpec, image : StumpyTGA::ImageSpec) #

[View source]

Class Method Detail

def self.from_io(io : IO, bf) #

[View source]

Instance Method Detail

def color_map : ColorMapSpec #

def color_map=(color_map : ColorMapSpec) #

def color_map_type : UInt8 #

def color_map_type=(color_map_type : UInt8) #

def id_length : UInt8 #

def id_length=(id_length : UInt8) #

def image : ImageSpec #

def image=(image : ImageSpec) #

def image_type : UInt8 #

def image_type=(image_type : UInt8) #

def to_io(io : IO, bf) #

[View source]