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

16-bit PGM image data is truncated to 8-bits

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Not Evaluated Not Evaluated
    • None
    • 6.10.0
    • Image formats
    • None
    • All

      16-bit PGM images should be loaded into a QImage with Format_Grayscale16 to prevent data loss. When saving Format_Grayscale16 QImages the PGM Maxval should be 65535 to prevent data loss.

      QImage::Format_Grayscale16 was added in Qt 5.13, but apparently the qppmhandler.cpp was never updated to support it.

      This bug makes programs like Krita unusable for working with 16-bit PGM images.
       

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

            vgt Eirik Aavitsland
            wickedsmoke Karl Robillard
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes