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

QPdfEngine does not allow for correct color space tagging of objects



    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 4.7.0
    • GUI: Printing
    • None


      QPdfEnginePrivate::addImage() does not allow the caller to to include color space information about the image. This precludes the use of these files in a color managed work flow. For example if I use a color managed app like Krita to create an image and then tag that image with an ICC profile and then print that image to PDF the resulting PDF will tag it as DeviceRGB which is clearly incorrect. In affect the PDF now contain corrupted data and this will result in an incorrectly printed image since it is highly unlikely that the image was actually in the printer color space particularly since the printer is likely to be a CMY(K) device (IE. it is NOT RGB).

      Some operating systems (OS/X) will try to guess the color space for images tagged as DeviceRGB and will default it to using the sRGB.icc profile. For users who are not using color management this is probably not a bad guess but for users who are using color management it is clearly WRONG.

      Please correct this so that color critical printing work flows are properly supported.


        Issue Links

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



              Unassigned Unassigned
              hvengel Hal V. Engel
              1 Vote for this issue
              0 Start watching this issue



                Gerrit Reviews

                  There are no open Gerrit changes