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

QPixmap::fromImage(largeImage) QImage: out of memory, returning null image

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P3: Somewhat important
    • None
    • 5.7.0
    • Image formats
    • None
    • Windows 10 64bits 

      Qt_5_7_0_MSVC2013_32bit

      RAM  8GB CPU i7-4790

       

    Description

      SomeTimes,when I use "QPixmap::fromImage" to convert a big image (140.4 M BGR From opencv cv::Mat), it prompts me "QImage: out of memory, returning null image".

      I saw similar bugs in QTBUG26451.It shows that this question has been resolved in Qt5.0.

       

      Greetings

       

      Attachments

        1. 222.png
          31 kB
          赖 永俊
        2. 111.png
          21 kB
          赖 永俊

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              vgt Eirik Aavitsland
              lyj 赖 永俊
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes