class Thumbor::Image

Defined in:

thumbor/image.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(path : String) #

[View source]

Instance Method Detail

def add_filter(name, *arguments) #

[View source]
def crop(top_left_x = Int32, top_left_y = Int32, bottom_right_x = Int32, bottom_right_y = Int32) #

[View source]
def fit_in(width = Int32, height = Int32) #

[View source]
def full_fit_in(width = Int32, height = Int32) #

[View source]
def generate #

[View source]
def halign(halign : String) #

[View source]
def meta : Bool #

[View source]
def meta=(meta : Bool) #

[View source]
def metadata_only #

[View source]
def resize(width = Int32, height = Int32) #

[View source]
def smart : Bool #

[View source]
def smart=(smart : Bool) #

[View source]
def smart_crop #

[View source]
def trim(color_source : String | Nil = nil, tolerance : Int32 | Nil = nil) #

[View source]
def valign(valign : String) #

[View source]