class StumpyJPEG::Component::Definition

Defined in:

stumpy_jpeg/component.cr

Constant Summary

SUPPORTED_SAMPLING_VALUES = {1, 2, 4}

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(component_id : Int32, h : Int32, v : Int32, dqt_table_id : Int32) #

[View source]

Class Method Detail

def self.from_io(io : IO, format : IO::ByteFormat = IO::ByteFormat::SystemEndian) #

[View source]

Instance Method Detail

def component_id : Int32 #

[View source]
def dqt_table_id : Int32 #

[View source]
def h : Int32 #

[View source]
def to_io(io : IO, format : IO::ByteFormat = IO::ByteFormat::SystemEndian) #

[View source]
def v : Int32 #

[View source]