You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Hilel New (JIRA)" <ji...@apache.org> on 2009/06/08 20:14:07 UTC

[jira] Updated: (PDFBOX-482) DeviceCMYK support in PDColorSpaceFactory

     [ https://issues.apache.org/jira/browse/PDFBOX-482?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hilel New updated PDFBOX-482:
-----------------------------

    Description: 
Running the PrintImageLocations example, causes an exception on some PDF files:

java.io.IOException: Unknown colorspace array type:COSName{DeviceCMYK}
at org.apache.pdfbox.pdmodel.graphics.color.PDColorSpaceFactory.createColorSpace (PDColorSpaceFactory.java:107) 

One of the methods in PDColorSpaceFactory class  is missing the codes that handels DeviceCMYK Colour Space.

I attached a patch that solves the problem (I hope)

  was:
Running the PrintImageLocations example, causes an exception on some PDF files:

java.io.IOException: Unknown colorspace array type:COSName{DeviceCMYK}
at org.apache.pdfbox.pdmodel.graphics.color.PDColorSpaceFactory.createColorSpace (PDColorSpaceFactory.java:107) 

One of the methods in PDColorSpaceFactory class  is missing the codes that handels DeviceCMYK Colour Space.


> DeviceCMYK support in PDColorSpaceFactory
> -----------------------------------------
>
>                 Key: PDFBOX-482
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-482
>             Project: PDFBox
>          Issue Type: Bug
>          Components: PDModel
>            Reporter: Hilel New
>         Attachments: hilel-new.patch
>
>
> Running the PrintImageLocations example, causes an exception on some PDF files:
> java.io.IOException: Unknown colorspace array type:COSName{DeviceCMYK}
> at org.apache.pdfbox.pdmodel.graphics.color.PDColorSpaceFactory.createColorSpace (PDColorSpaceFactory.java:107) 
> One of the methods in PDColorSpaceFactory class  is missing the codes that handels DeviceCMYK Colour Space.
> I attached a patch that solves the problem (I hope)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.