class

Thumbor::Image

Inherits Reference < Object

Constructors

new(path : String)
Source

Instance methods

add_filter(name, *arguments)
Source
crop(top_left_x = Int32, top_left_y = Int32, bottom_right_x = Int32, bottom_right_y = Int32)
Source
fit_in(width = Int32, height = Int32)
Source
full_fit_in(width = Int32, height = Int32)
Source
generate
Source
halign(halign : String)
Source
meta
Source
meta=(meta : Bool)
Source
metadata_only
Source
resize(width = Int32, height = Int32)
Source
smart
Source
smart=(smart : Bool)
Source
smart_crop
Source
trim(color_source : String | Nil = nil, tolerance : Int32 | Nil = nil)
Source
valign(valign : String)
Source