struct Qoi::QOIHeader

Defined in:

qoi.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(width : UInt32, height : UInt32, channels : QOIChannel, colorspace : QOIColorSpace) #

[View source]
def self.new(width : UInt32, height : UInt32, channels : UInt8, colorspace : UInt8) #

[View source]

Instance Method Detail

def channels : QOIChannel #

[View source]
def colorspace : QOIColorSpace #

[View source]
def height : UInt32 #

[View source]
def throw_invalid_header_channels(channels : UInt8) #

[View source]
def throw_invalid_header_colorspace(colorspace : UInt8) #

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

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

[View source]
def throw_magic_bytes_error(magic : UInt32) #

[View source]
def throw_unexpected_eof #

[View source]
def width : UInt32 #

[View source]