imagemagick - RMagick crop! "bignum too big to convert into `long'" error -
i'm getting error rmagick 2.13.1 on rare occasions , error message doesn't make sense me. can shed insight?
pagination = magick::imagelist.new pagination.from_blob(restclient.get(url)) pagination.each |f| f.crop!(magick::southwestgravity, 0, 20, 368, 358) end
crop!
raises rangeerror: bignum big convert 'long'
prior calling crop!
can inspect f
, "png 550x366 550x366+0+0 directclass 16-bit 625kb".
the code works , can't figure out causing break on image.
Comments
Post a Comment