[Poppler-bugs] [Bug 93468] Poppler can't display transparent JPEG 2000 images
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri Mar 11 15:27:50 UTC 2016
https://bugs.freedesktop.org/show_bug.cgi?id=93468
--- Comment #2 from Thomas Freitag <Thomas.Freitag at alfa.de> ---
Mmmh, Tristan, image 2 and 3 contain an alpha channel and are therefore not
handled correctly by poppler. BUT: where in case of image 1 an image object and
a corresponding smask is set in the PDF and so the transparency remains, the
parameter SMaskInData is not set for image 2 and 3. The PDF spec says that in
this case the alpha channel in the jpx encoded data should be ignored (Default:
SMaskInData = 0).
So these images will remain non-transparent and look like image 5.
I will upload a patch that handles SMaskInData = 0 correctly but still will not
display correctly if SMaskInData is 1 or 2. This would mean more effort also in
the output devices to handle that correctly, so I will not implement that
before I get some good examples.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/poppler-bugs/attachments/20160311/07ee084b/attachment.html>
More information about the Poppler-bugs
mailing list