abstract struct FastImage::Meta

Overview

Struct to support different file types parsing

Direct Known Subclasses

Defined in:

fastimage/meta.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(io : IO, initial_pos : Int32 = 0) #

We pass original position to #initialize, because some IOs (like HTTP) does not support #pos


[View source]
def self.new #

[View source]

Instance Method Detail

def dimensions #

[View source]
def height : UInt32 | Nil #

[View source]
def initial_pos : Int32 #

[View source]
def width : UInt32 | Nil #

[View source]