# File lib/paperclip/frame_grab.rb, line 62 def transformation_options if current_geometry scale, crop = current_geometry.transformation_to(target_geometry, crop?) trans = [] trans << "-resize" << %["#{scale}"] unless scale.nil? || scale.empty? trans << "-crop" << %["#{crop}"] << "+repage" if crop trans.join(" ") end end