Class Dragonfly::ImageMagick::Processor
In: lib/dragonfly/image_magick/processor.rb
Parent: Object

Methods

auto_orient   convert   crop   flip   flop   grayscale   greyscale   resize   resize_and_crop   rotate   strip   thumb  

Included Modules

Configurable Utils

Constants

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

Public Instance methods

grayscale(temp_object)

Alias for greyscale

[Validate]