class Paperclip::FullCropper

Public Instance Methods

crop_command() click to toggle source
# 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