class StumpyJPEG::Segment::SOF

Defined in:

stumpy_jpeg/segment/sof.cr

Constructors

Class Method Summary

Instance Method Summary

Instance methods inherited from class StumpyJPEG::Segment

marker : UInt8 marker, to_s(io : IO) to_s

Constructor methods inherited from class StumpyJPEG::Segment

new(marker : UInt8) new

Constructor Detail

def self.new(n, bit_precision : Int32, height : Int32, width : Int32, number_of_components : Int32, components : Array(StumpyJPEG::Component::Definition)) #

[View source]

Class Method Detail

def self.from_io(io : IO) #

[View source]

Instance Method Detail

def bit_precision : Int32 #

[View source]
def components : Array(Component::Definition) #

[View source]
def height : Int32 #

[View source]
def length #

[View source]
def number_of_components : Int32 #

[View source]
def to_s(io : IO) #
Description copied from class Reference

Appends a short String representation of this object which includes its class name and its object address.

class Person
  def initialize(@name : String, @age : Int32)
  end
end

Person.new("John", 32).to_s # => #<Person:0x10a199f20>

[View source]
def width : Int32 #

[View source]