[Poppler-bugs] [Bug 15177] New: 16-bit images are rendered black

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Mar 23 05:19:49 PDT 2008


http://bugs.freedesktop.org/show_bug.cgi?id=15177

           Summary: 16-bit images are rendered black
           Product: poppler
           Version: unspecified
          Platform: x86 (IA32)
        OS/Version: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: general
        AssignedTo: poppler-bugs at lists.freedesktop.org
        ReportedBy: braslau at free.fr


Created an attachment (id=15396)
 --> (http://bugs.freedesktop.org/attachment.cgi?id=15396)
PDF file containing a 16-bit PNG image

16-bit/color RGB images included in a PDF file are not rendered correctly in
okular (as for kpdf, evince and xpdf), yet display correctly using acroread or
gv.

Note that the original 16-bit/color (png or tiff) image files ARE correctly
displayed by okular (and kpdf), so this appears to be a bug in the poppler
library, as signaled by a KDE maintainer.

Note also that the PDF file must indeed contain 16-bit images, as many programs
(such as pdflatex, imagemagick, ...) simply silently convert to 8-bit depth,
whereas others (ConTeXt) do respect the full color depth.

Attached is one example; One can easily create others using imagemagick to
generated a 16-bit PNG image (but not directly the PDF file) and then ConTeXt
to (correctly) produce the PDF file:

% texexec test
\starttext
\externalfigure[test]
\stoptext


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Poppler-bugs mailing list