You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Paco Avila (JIRA)" <ji...@apache.org> on 2015/02/01 09:48:34 UTC

[jira] [Updated] (PDFBOX-2653) Image extraction fails with attached PDF

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

Paco Avila updated PDFBOX-2653:
-------------------------------
    Attachment: image.pdf

This PDF file has an TIFF image and fails.

> Image extraction fails with attached PDF
> ----------------------------------------
>
>                 Key: PDFBOX-2653
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-2653
>             Project: PDFBox
>          Issue Type: Bug
>    Affects Versions: 1.8.8
>         Environment: LinuxMint 1.7 64 bits
>            Reporter: Paco Avila
>         Attachments: image.pdf
>
>
> ExtractImages failed with the following exception:
> java.lang.NullPointerException
> 	at org.apache.pdfbox.pdmodel.graphics.xobject.PDCcitt$TiffWrapper.buildHeader(PDCcitt.java:651)
> 	at org.apache.pdfbox.pdmodel.graphics.xobject.PDCcitt$TiffWrapper.<init>(PDCcitt.java:497)
> 	at org.apache.pdfbox.pdmodel.graphics.xobject.PDCcitt$TiffWrapper.<init>(PDCcitt.java:488)
> 	at org.apache.pdfbox.pdmodel.graphics.xobject.PDCcitt.write2OutputStream(PDCcitt.java:237)
> 	at org.apache.pdfbox.pdmodel.graphics.xobject.PDXObjectImage.write2file(PDXObjectImage.java:265)
> 	at org.apache.pdfbox.ExtractImages.processResources(ExtractImages.java:255)
> 	at org.apache.pdfbox.ExtractImages.extractImages(ExtractImages.java:180)
> 	at org.apache.pdfbox.ExtractImages.main(ExtractImages.java:80)
> 	at org.apache.pdfbox.PDFBox.main(PDFBox.java:62)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org