 |
Forums |
Admin Discussion Forums: help Start New Thread
| Message: 96807 |
 |
BY: pavel luschik (kelinmiir) DATE: 2011-07-21 04:06 SUBJECT: Unable to open an image file I'm working with Rails, and trying to read an image and resize it.
When I trying to run this code:
img_orig = Magick::Image.read("#RAILS_ROOT}/resumes/photos/buklet_preview.jpg")
I get is this:
unable to open image `hail/ruby/job/resumes/photos/buklet_preview.jpg': @ error/blob.c/OpenBlob/2588
RAILS_ROOT: /home/mihail/ruby/job
How can I make RMagick open my image correctly? | |
Thread View
| Thread |
Author |
Date |
 |
Unable to open an image file | pavel luschik | 2011-07-21 04:06 | |
Post a followup to this message
|
 |