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

QPixmap does not allow bigger size than 128 MB

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Not Evaluated
    • None
    • 6.4.0
    • Image formats
    • None
    • All

    Description

      When I try to load a photo with dimensions 6160x4120 from my mobile to auto pixmap = QPixmap(path); it returns null pixmap and prints out warning "qt.gui.imageio: QImageIOHandler: Rejecting image as it exceeds the current allocation limit of 128 megabytes". If I use QImageReader I get the same result.

      I do not know if there is any reason for this artificial limit. These days with large camera sensors 50 MP or even 100 MP are quite common and it is annoying if I cannot load them to pixmap.

      Could this size limit be increased?

      Attachments

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

        Activity

          People

            vgt Eirik Aavitsland
            vladimir.kraus Vladimir Kraus
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes