class StumpyJPEG::JPEG

Defined in:

stumpy_jpeg/jpeg.cr

Constant Summary

PROGRESSIVE_MODES = {2, 10}.map do |n| Markers::SOF + n end
SUPPORTED_MODES = {0, 1, 2, 9, 10}.map do |n| Markers::SOF + n end

Constructors

Instance Method Summary

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def app : Segment::APP | Nil #

[View source]
def canvas : Canvas #

[View source]
def comment : String | Nil #

[View source]
def components : Hash(Int32, Component) #

[View source]
def entropy_ac_tables : StaticArray(Huffman::Table, 4) #

[View source]
def entropy_dc_tables : StaticArray(Huffman::Table, 4) #

[View source]
def frame : Segment::SOF | Nil #

[View source]
def mcu_cols : Int32 #

[View source]
def mcu_rows : Int32 #

[View source]
def parse_segment(marker, io) #

[View source]
def progressive : Bool #

[View source]
def quantization_tables : StaticArray(Quantization::Table, 4) #

[View source]
def restart_interval : Int32 #

[View source]
def update_canvas #

[View source]