Class: Paperclip::FullCropper
- Defined in:
- lib/paperclip_processors/cropper.rb
Instance Method Summary collapse
Methods inherited from Cropper
Instance Method Details
#crop_command ⇒ Object
23 24 25 26 27 28 |
# File 'lib/paperclip_processors/cropper.rb', line 23 def crop_command target = @attachment.instance if target.cropping_full? ["-crop", "#{target.full_crop_w}x#{target.full_crop_h}+#{target.full_crop_x}+#{target.full_crop_y}"] end end |