[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

hi, not able to work with image in ruby

Maloy Debnath

1/12/2007 5:46:00 AM

hi,
I am very new to ruby . My new project is in WATIR(testing tool)
which has ruby as an scripting language . I need to compare two images
so for that i need to read an image from a web page how can i go about
that .I tried the following code


require 'RMagick'
include Magick
im = Image.new('source\picture.jpg')
im.display
exit

but it did not work it says unable to load the file RMagick !!!!

So please let me what to do ...

thank you
maloy

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

2 Answers

Tim Hunter

1/12/2007 12:39:00 PM

0

Maloy Debnath wrote:
> hi,
> I am very new to ruby . My new project is in WATIR(testing tool)
> which has ruby as an scripting language . I need to compare two images
> so for that i need to read an image from a web page how can i go about
> that .I tried the following code
>
>
> require 'RMagick'
> include Magick
> im = Image.new('source\picture.jpg')
> im.display
> exit
>
> but it did not work it says unable to load the file RMagick !!!!
>
> So please let me what to do ...
>
> thank you
> maloy
>
>
Did you install RMagick? http://rmagick.rubyforge.org/instal...

Ilan Berci

1/12/2007 3:09:00 PM

0

Maloy Debnath wrote:

>
> but it did not work it says unable to load the file RMagick !!!!
>

http://rmagick.rubyforge.org/instal...

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