Displaying 1 result from an estimated 1 matches for "crop_controller".
2008 Oct 08
0
RangeError (bignum too big to convert into `long'
...ecfied by the
user path
img = img.scale(640,480) #scales image to 640x480
img.write"/home/anmol/image.jpg" #scales image to 640x480
img.crop(SouthEastGravity,picwidth,heightchanged).write(cropfile)
end
ERROR :
RangeError (bignum too big to convert into `long''):
/app/controllers/crop_controller.rb:98:in `crop''
/app/controllers/crop_controller.rb:98:in `topcrop''
/app/controllers/crop_controller.rb:233:in `updownevent''
/app/controllers/application.rb:74:in `up''
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.1.1/lib/
action_controller/bas
e.rb:1166:in `sen...