Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-118435

TestCase grabImage equals returns false for identical images

    XMLWordPrintable

Details

    Description

      Using the TestCase::grabImage() for two identical Items and then comparing the resulted images results in false when comparing the images with the eguals() method. Also if you compare the images for example with the imagemagick compare tool the images have no differences:

      compare -compose src image_1.png image_2.png diff.png

      To reproduce the issue, please run the attached example project.

      Attachments

        1. diff.png
          diff.png
          0.5 kB
        2. qtbug_118435.zip
          5 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            wladimir.leuschner Wladimir Leuschner
            tuomas.vaarala Tuomas Vaarala
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes