struct ImageSize

Defined in:

image_size.cr

Class Method Summary

Instance Method Summary

Class Method Detail

def self.get(bytes : Bytes) #

[View source]
def self.get(filename : String) #

[View source]
def self.resize(bytes : Bytes, *, width = 0, height = 0) : Bytes #

[View source]
def self.resize(filename : String, *, width = 0, height = 0) : Bytes #

[View source]

Instance Method Detail

def components : Int32 #

[View source]
def height : Int32 #

[View source]
def width : Int32 #

[View source]