Hi Hilel, just file an issue on jira [1], attach your patch as a diff file to that issue and please don't forget to grant license to the ASF.
Thanks in advance for your help!! Andreas Lehmkühler [1] https://issues.apache.org/jira/browse/PDFBOX ----- original Nachricht -------- Betreff: DeviceCMYK Gesendet: Fr, 05. Jun 2009 Von: Hilel New<[email protected]> > 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.createColorSpac > e > > (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. > --- original Nachricht Ende ----
