dogtail-devel [Bug 321431] The image comparison function does not work



Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=321431
 dogtail | Framework | Ver: CVS HEAD





------- Additional Comments From Muktha  2005-11-18 10:00 -------
1. In my script, the image compare was invoked as:

   label = "Image compare"
   image1 = "/home/mukta/image1.png"
   image2 = "/home/mukta/reimage1.png"
   TestImage.compare(label, image1, image1, metric='PSNR')
   TestImage.compare(label, image1, image2, metric='PSNR')
   TestImage.compare(label, image1, image1, metric='MSE')
   TestImage.compare(label, image1, image2, metric='MSE')

   The output in the log file was:
   2005.11.18 20:43:10     Image compare:  Failed - inf dB
   2005.11.18 20:43:10     Image compare:  Failed - 32.2696 dB
   2005.11.18 20:43:10     Image compare:  Failed - 0 dB
   2005.11.18 20:43:10     Image compare:  Failed - 2.54674e+06 dB

2. The version of ImageMagic is 6.2.5.
   $compare -version
    Version: ImageMagick 6.2.5 10/18/05 Q16 http://www.imagemagick.org
    Copyright: Copyright (C) 1999-2005 ImageMagick Studio LLC

3. Also, when I run the compare command on the commandline, it gives me an 
   output whose length is 3 and hence TCImage.compare() returns the result as 
   'failed'.
   $compare -metric "PSNR" ./image1.png ./reimage1.png z.png
   $32.2696 dB
   $48,48,PNG
   $


------- You are receiving this mail because: -------
You are watching the assignee for the bug.
You are watching the QA contact.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]