pdfbox-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PDFBOX-4267) Incorrect rendering when /Matte entry
Date Tue, 21 Aug 2018 17:41:00 GMT

    [ https://issues.apache.org/jira/browse/PDFBOX-4267?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16587790#comment-16587790
] 

ASF subversion and git services commented on PDFBOX-4267:
---------------------------------------------------------

Commit 1838574 from tilman@apache.org in branch 'pdfbox/branches/2.0'
[ https://svn.apache.org/r1838574 ]

PDFBOX-4267: matte entry should use the color space of the image, not the color space of the
SMask, by Jani Pehkonen

> Incorrect rendering when /Matte entry
> -------------------------------------
>
>                 Key: PDFBOX-4267
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-4267
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Rendering
>    Affects Versions: 2.0.11, 3.0.0 PDFBox
>            Reporter: Tilman Hausherr
>            Assignee: Tilman Hausherr
>            Priority: Major
>             Fix For: 2.0.12, 3.0.0 PDFBox
>
>         Attachments: bugzilla888437.pdf, gs-bugzilla688797-reduced.pdf, gs-bugzilla688797.pdf
>
>
> The image softmask in the attached file has a {{/Matte 0 0 0}} entry. PDFBox displays
the PDF differently than Adobe Reader, the reflection shown by PDFBox is barely visible. When
the /Matte entry is deleted, then it is barely visible in Adobe Reader too. So the /Matte
entry does make some difference, although I don't understand how.
> In the PDF specification, the formula shown is c' = m + α x (c - m). So 0 should have
no effect?!
> I looked at the code of PDF.js, they have a special handling when alpha is 0, don't know
why.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org


Mime
View raw message