Class: Paperclip::Cropper

Inherits:
Thumbnail
  • Object
show all
Defined in:
lib/paperclip_processors/cropper.rb

Direct Known Subclasses

FullCropper, ThumbCropper

Instance Method Summary collapse

Instance Method Details

#transformation_commandObject



4
5
6
7
8
9
10
# File 'lib/paperclip_processors/cropper.rb', line 4

def transformation_command
  if crop_command
    crop_command + super.join(' ').sub(/ -crop \S+/, '').split(' ')
  else
    super
  end
end