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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • 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

    Description

      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.

      Attachments

        1. qprintimg.tar.gz
          78 kB
          Qt Support

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes