Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
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)