I am using pdfbox for some time, but this is the first time I am trying to
submit a bug fix.


 When I try to run the PrintImageLocations example on some files, I get this
error message:

java.io.IOException: Unknown colorspace array type:COSName{DeviceCMYK}

at
org.apache.pdfbox.pdmodel.graphics.color.PDColorSpaceFactory.createColorSpace

(PDColorSpaceFactory.java:107)


 I made a little fix to the PDColorSpaceFactory class - added the lines
below to the createColorSpace( COSBase colorSpace ) method, just below the
code that handles DeviceRGB


 else if( type.getName().equals( PDDeviceCMYK.NAME ) )

{

retval = PDDeviceCMYK.INSTANCE;

}


 And that solve my problem.


 How can I submit this bug fix?


 Thanks,


 Hilel Y.

Reply via email to