Class Dragonfly::ImageMagick::Processors::Thumb
In: lib/dragonfly/image_magick/processors/thumb.rb
Parent: Object

Methods

Constants

GRAVITIES = { 'nw' => 'NorthWest', 'n' => 'North', 'ne' => 'NorthEast', 'w' => 'West', 'c' => 'Center', 'e' => 'East', 'sw' => 'SouthWest', 's' => 'South', 'se' => 'SouthEast'
RESIZE_GEOMETRY = /\A\d*x\d*[><%^!]?\z|\A\d+@\z/   Geometry string patterns
CROPPED_RESIZE_GEOMETRY = /\A(\d+)x(\d+)#(\w{1,2})?\z/
CROP_GEOMETRY = /\A(\d+)x(\d+)([+-]\d+)?([+-]\d+)?(\w{1,2})?\z/

Public Instance methods

[Validate]