Dear all, I have used RMagic to read and write a image while uploading. An animated gif was read from my local machine and was written in my images folder using RMagick. But the animated gif which i read was witten in my folder without animation. What should i do to write the gif image with animation.
Here is my code to read and write image while uploading. image = params[:image][:blob] image1=params[:image][:blob].original_filename imgs = Magick::Image.from_blob(image.read) img = imgs.first File.open(RAILS_ROOT + "/public/images/banner/" + image1 , "wb") do |f| f.write(img.to_blob) end could anyone suggest me to solve this issue Thanks in advance, Regards, Jose Martin -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

