Re: [Wtr-general] working with bitmap

2007-01-12 Thread Bach Le
try this

im = Image.new('C:\\Documents and Settings\\Administrator\\My Documents\\My 
Pictures\\SAI1.jpg')
-
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=6089messageID=17113#17113
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general


[Wtr-general] working with bitmap

2007-01-11 Thread Maloy kanti debnath
hi,
 Can we do some think for doing the bitmap check in WATIR . for some 
application where i  want to check the image with the original one .
maloy
-
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=6089messageID=17051#17051
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general


Re: [Wtr-general] working with bitmap

2007-01-11 Thread Nathan Christie
Can you be more specific please? Do you need to validate filesize, filename, 
modified date between two images?
-
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=6089messageID=17063#17063
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general


Re: [Wtr-general] working with bitmap

2007-01-11 Thread Bach Le
I think he means checking if one image is the same as another image 
pixel-by-pixel and if that is the case, rmagick should be able to do the trick 
although I have not tested it out myself.

Message was edited by: 
beefandbachle
-
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=6089messageID=17076#17076
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general


Re: [Wtr-general] working with bitmap

2007-01-11 Thread Maloy kanti debnath
hi,
  i mean to check the  expected image to the actual image  in a web 
application. Same as bitmap checkpoint in Winrunner or QTP ...  i need to check 
the image pixel-by-pixel ..
thank you,
maloy
-
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=6089messageID=17081#17081
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general


Re: [Wtr-general] working with bitmap

2007-01-11 Thread Maloy kanti debnath
hi,
I tried this code but it was not working 

require 'RMagick'
include Magick
im = Image.new('C:\Documents and Settings\Administrator\My Documents\My 
Pictures\SAI1.jpg')
im.display
exit

can you please help me out .
thank you
maloy
-
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=6089messageID=17084#17084
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general