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

Cant display large images with > 15 MP with the GL paint engine

    XMLWordPrintable

Details

    • 800cd53c7e7c34571582d463c3f40de4df908818

    Description

      QGraphicsView is not able to display large images with more than 15 mega pixels when OpenGL is set as its Viewport:

      setViewport(new QOpenGLWidget);

      In case i set the pixmap of the Graphicsview using a large image, the resulting area appears just black.

      I used 23MP RGB image with dimensions of 7786x3000 pixels.

      http://4k.com/wp-content/uploads/2014/06/4k-image-santiago.jpg

      When i remove the setViewport(new QOpenGLWidget) part, then the image is correctly displayed.

      Attachments

        1. LargeImagesBug.zip
          4 kB
        2. 23MP.jpg
          23MP.jpg
          9.83 MB
        3. 17MP.jpg
          17MP.jpg
          8.39 MB
        4. 15MP.jpg
          15MP.jpg
          7.58 MB
        5. 13MP.jpg
          13MP.jpg
          6.96 MB
        6. FHD.jpg
          FHD.jpg
          1.25 MB
        7. qtdiag.txt
          6 kB

        Issue Links

          For Gerrit Dashboard: QTBUG-59207
          # Subject Branch Project Status CR V

          Activity

            People

              lagocs Laszlo Agocs
              tompollok Thomas Pollok
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes