pdfbox-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Lehmkühler (JIRA) <j...@apache.org>
Subject [jira] Updated: (PDFBOX-229) error with PDFToImage
Date Thu, 05 Feb 2009 09:47:59 GMT

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

Andreas Lehmkühler updated PDFBOX-229:
--------------------------------------

    Issue Type: New Feature  (was: Bug)

Changed issue-type from Bug to New Feature

> error with PDFToImage
> ---------------------
>
>                 Key: PDFBOX-229
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-229
>             Project: PDFBox
>          Issue Type: New Feature
>          Components: PDModel
>            Priority: Minor
>
> [imported from SourceForge]
> http://sourceforge.net/tracker/index.php?group_id=78314&atid=552832&aid=1620717
> Originally submitted by nobody on 2006-12-22 02:42.
> Trying to convert to images the pages of a pdf file, i get the following error (we are
using version 0.7.3). I attach the pdf file that produces the error.
> My email is jesus.criado@altia.es
> C:\Documents and Settings\Administrador\Escritorio\prueba>java org.pdfbox.PDFToI
> mage -imageType png fichero1.pdf
> java.io.IOException: Unknown stream filter:COSName{JBIG2Decode}
>         at org.pdfbox.filter.FilterManager.getFilter(FilterManager.java:116)
>         at org.pdfbox.cos.COSStream.doDecode(COSStream.java:262)
>         at org.pdfbox.cos.COSStream.doDecode(COSStream.java:235)
>         at org.pdfbox.cos.COSStream.getUnfilteredStream(COSStream.java:170)
>         at org.pdfbox.pdmodel.common.PDStream.createInputStream(PDStream.java:22
> 6)
>         at org.pdfbox.pdmodel.common.PDStream.getByteArray(PDStream.java:481)
>         at org.pdfbox.pdmodel.graphics.xobject.PDPixelMap.getRGBImage(PDPixelMap
> .java:138)
>         at org.pdfbox.util.operator.pagedrawer.Invoke.process(Invoke.java:81)
>         at org.pdfbox.util.PDFStreamEngine.processOperator(PDFStreamEngine.java:
> 452)
>         at org.pdfbox.util.PDFStreamEngine.processSubStream(PDFStreamEngine.java
> :215)
>         at org.pdfbox.util.operator.pagedrawer.Invoke.process(Invoke.java:182)
>         at org.pdfbox.util.PDFStreamEngine.processOperator(PDFStreamEngine.java:
> 452)
>         at org.pdfbox.util.PDFStreamEngine.processSubStream(PDFStreamEngine.java
> :215)
>         at org.pdfbox.util.PDFStreamEngine.processStream(PDFStreamEngine.java:17
> 4)
>         at org.pdfbox.pdfviewer.PageDrawer.drawPage(PageDrawer.java:104)
>         at org.pdfbox.pdmodel.PDPage.convertToImage(PDPage.java:657)
>         at org.pdfbox.PDFToImage.main(PDFToImage.java:183)
> Exception in thread "main" java.lang.NoClassDefFoundError: org/fontbox/cmap/CMap
> Parser
>         at org.pdfbox.pdmodel.font.PDFont.parseCmap(PDFont.java:534)
>         at org.pdfbox.pdmodel.font.PDFont.encode(PDFont.java:387)
>         at org.pdfbox.util.PDFStreamEngine.showString(PDFStreamEngine.java:325)
>         at org.pdfbox.util.operator.ShowText.process(ShowText.java:64)
>         at org.pdfbox.util.PDFStreamEngine.processOperator(PDFStreamEngine.java:
> 452)
>         at org.pdfbox.util.PDFStreamEngine.processSubStream(PDFStreamEngine.java
> :215)
>         at org.pdfbox.util.operator.pagedrawer.Invoke.process(Invoke.java:182)
>         at org.pdfbox.util.PDFStreamEngine.processOperator(PDFStreamEngine.java:
> 452)
>         at org.pdfbox.util.PDFStreamEngine.processSubStream(PDFStreamEngine.java
> :215)
>         at org.pdfbox.util.PDFStreamEngine.processStream(PDFStreamEngine.java:17
> 4)
>         at org.pdfbox.pdfviewer.PageDrawer.drawPage(PageDrawer.java:104)
>         at org.pdfbox.pdmodel.PDPage.convertToImage(PDPage.java:657)
>         at org.pdfbox.PDFToImage.main(PDFToImage.java:183)
> C:\Documents and Settings\Administrador\Escritorio\prueba>
> [comment on SourceForge]
> Originally sent by benlitchfield.
> Logged In: YES 
> user_id=601708
> Originator: NO
> Two comments
> 1)"NoClassDefFoundError: org/fontbox/cmap/CMap" Make sure you have FontBox in your classpath
> 2)JBIG2 is not supported by Java yet, but you can vote for it to get implemented!
> http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4799898
> Ben

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


Mime
View raw message