You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Andreas Lehmkühler (JIRA)" <ji...@apache.org> on 2010/09/23 18:10:33 UTC
[jira] Resolved: (PDFBOX-836) Write2File Fails for PDCalRGB
[ https://issues.apache.org/jira/browse/PDFBOX-836?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andreas Lehmkühler resolved PDFBOX-836.
---------------------------------------
Fix Version/s: 1.3.0
Resolution: Fixed
I added the proposed patch in revision 1000516. I made a small change to take the bits per component into amount when creating the new colormodel.
Thanks for the contribution
> Write2File Fails for PDCalRGB
> -----------------------------
>
> Key: PDFBOX-836
> URL: https://issues.apache.org/jira/browse/PDFBOX-836
> Project: PDFBox
> Issue Type: Bug
> Components: PDModel
> Reporter: Kenneth Berland
> Priority: Minor
> Fix For: 1.3.0
>
> Attachments: foo.pdf, pdfbox-836.PDCalRGB.patch
>
>
> decoding of PDPixelMap images with a CalRGB colormap is not implemented.
> ERROR org.apache.pdfbox.pdmodel.graphics.xobject.PDPixelMap - java.io.IOException: Not implemented
> java.io.IOException: Not implemented
> at org.apache.pdfbox.pdmodel.graphics.color.PDCalRGB.createColorModel(PDCalRGB.java:113)
> at org.apache.pdfbox.pdmodel.graphics.xobject.PDPixelMap.getRGBImage(PDPixelMap.java:201)
> at org.apache.pdfbox.pdmodel.graphics.xobject.PDPixelMap.write2OutputStream(PDPixelMap.java:310)
> at org.apache.pdfbox.pdmodel.graphics.xobject.PDXObjectImage.write2file(PDXObjectImage.java:139)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.