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

QPrinter prints a wrong QImage (QImage::Format_Indexed8) to a PS file

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Out of scope
    • Icon: P4: Low P4: Low
    • 4.8.x
    • 4.8.0
    • GUI: Printing
    • None
    • OS: RedHat enterprise 6.2 64bit - gcc 4.4.6 and Ubuntu 10.04 32bit

      Please check the attached example and put the raw image to the directory from where the app is executed.
      It is reported that it works on windows and with mono and with RGB32 images and with pdf.
      The bug is probably in the linux ps part with indexed8 images.
      There is a workaround if painter.drawPixmap(0,0,*label.pixmap()); is used it prints correctly.

        1. qprintimg.tar.gz
          78 kB
          Qt Support
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            johnlayt John Layt
            qtcomsupport Qt Support
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes