[poppler] Poppler and 16 bit images, workaround or not?
Albert Astals Cid
aacid at kde.org
Sat Apr 12 16:32:20 PDT 2008
Hi, poppler is not prepared at all for 16 bits per component images,
everywhere it assumes a component of the color fits into a Guchar (8 bits).
You can see the consequences with the pdf present at
I have attached a 5 line patch that "fools" poppler and makes it use the high
8 bits and discard the other 8.
This makes it "work" but it's obviously a workaround and not the real solution
and i have only this pdf using 16 bits per component and it's really a "test
document" not a real one.
So i'm hesitating if incorporating the patch (with comments explaining the
workaround) or not doing it.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 847 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/poppler/attachments/20080413/bdf6fcf7/attachment.patch
More information about the poppler