RMagick Image Rendering Problem

0 views
Skip to first unread message

Mike Dest

unread,
Sep 15, 2008, 12:48:57 PM9/15/08
to rubyonra...@googlegroups.com

RMagick Image Rendering

I am fairly new to Ruby on Rails and I have been trying to upload images
and create thumbnails using the "Processing Uploaded Images" recipe from
the Rails Recipes book. The script uses RMagick to create thumbnails of
the uploaded images and saves both the uploaded images and the
thumbnails in the public/uploaded_images directory. However when I
upload an image, both the image and the thumbnail created do not
resemble the image submitted. They are just scrambled pixels. The image
attached is a thumbnail created by the recipe. Does anybody know how I
can fix this problem? Any help is greatly appreciated.

Mike.

Attachments:
http://www.ruby-forum.com/attachment/2684/1-thumb.pearl_jam_alive__ascii_2.jpg

--
Posted via http://www.ruby-forum.com/.

Walter McGinnis

unread,
Sep 15, 2008, 6:48:15 PM9/15/08
to rubyonra...@googlegroups.com
Your version of Rmagick or Imagemagick are probably dinged.  I would recommend reinstalling with a more recent howto.

For a more helpful answer try adding more detail.  What OS, OS version, Imagemagick version, Rmagick version, etc. are you using?

Cheers,
Walter

Reply all
Reply to author
Forward
0 new messages