Class | Dragonfly::ImageMagick::Processor |
In: |
lib/dragonfly/image_magick/processor.rb
|
Parent: | Object |
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 |