You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Maruan Sahyoun (JIRA)" <ji...@apache.org> on 2015/07/21 15:17:04 UTC

[jira] [Commented] (PDFBOX-2898) Incorrect key for color space in PDGroup

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

Maruan Sahyoun commented on PDFBOX-2898:
----------------------------------------

I think you are right - would you be able to attach a sample document to test with?

[~tilman] [~jahewson] I could change it quickly but I'm fearing that it might have implications and I don't have a set of test files for that feature.

>From the ISO 32000-1 spec // Table 147 - Additional entries specific to a transparency group attributes dictionary (continued)
{quote}
Key: CS
Type: name or array
Value: (Sometimes required) The group colour space, which is used for the following purposes:
...
{quote} 

The other option would be to use both keys {{getDictionaryObject(COSName.COLORSPACE, COSName.CS);}} incorrect from a spec point of view but retains the old behavior

> Incorrect key for color space in PDGroup
> ----------------------------------------
>
>                 Key: PDFBOX-2898
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-2898
>             Project: PDFBox
>          Issue Type: Bug
>          Components: PDModel
>    Affects Versions: 2.0.0
>         Environment: Windows 7, 64. Java 1.7.0_51
>            Reporter: Evgeniy Muravitskiy
>
> According to the specification of PDF Reference 1.4 (1.7), paragraph 7.5.5, Transparency Group may contain Color Space in the 'CS' key, but in the method PDGroup.getColorSpace () the search is implemented with the use of 'ColorSpace' key.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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