[Poppler-bugs] [Bug 92592] New: Background image is much too dark
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu Oct 22 03:38:16 PDT 2015
https://bugs.freedesktop.org/show_bug.cgi?id=92592
Bug ID: 92592
Summary: Background image is much too dark
Product: poppler
Version: unspecified
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: general
Assignee: poppler-bugs at lists.freedesktop.org
Reporter: Thomas.Freitag at alfa.de
Created attachment 119063
--> https://bugs.freedesktop.org/attachment.cgi?id=119063&action=edit
PDF with background image that is rendered too dark
The background image in the attached PDF is rendered much too dark with
poppler.
The PDF uses a transparency group with fill and stroke opacity of 0.35:
gs /GS1
gfx state dict: << /CA 0.35 /OP false /OPM 0 /Type /ExtGState /ca 0.35 /op
false >>
Inside this transparency group a pattern colorspace is used:
cs /Pattern
scn /P0
The background image is part of the pattern colorspace, more exactly the
pattern colorspace is this image, and before the image is painted the fill
opacity is reset to 1:
gs /ca0
gfx state dict: << /Type /ExtGState /ca 1 >>
Do /img0
So inside the pattern the fill opacity is 1, but the pattern itself should be
set with fill opacity of 1.
In this PDF splash is not able to use its own tilingPatternFill, so it falls
back to Gfx::drawForm. But because Gfx::drawForm draws directly in splash
bitmap, the fill opacity of the image is used which overwrites the fill opacity
of the pattern.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/poppler-bugs/attachments/20151022/78c54428/attachment.html>
More information about the Poppler-bugs
mailing list