You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (JIRA)" <ji...@apache.org> on 2014/06/10 00:19:01 UTC
[jira] [Commented] (PDFBOX-934) ImageToPDF.createPDFFromImage
causes problems for certain TIFF inputs
[ https://issues.apache.org/jira/browse/PDFBOX-934?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14025848#comment-14025848 ]
Tilman Hausherr commented on PDFBOX-934:
----------------------------------------
This is a G3 TIFF (which we support) but it has tag 292 with GROUP3OPT_FILLBITS set
http://www.awaresystems.be/imaging/tiff/tifftags/t4options.html
and I can't see how we (or PDF) supports this.
> ImageToPDF.createPDFFromImage causes problems for certain TIFF inputs
> ---------------------------------------------------------------------
>
> Key: PDFBOX-934
> URL: https://issues.apache.org/jira/browse/PDFBOX-934
> Project: PDFBox
> Issue Type: Bug
> Components: Writing
> Affects Versions: 1.4.0
> Reporter: Stefan Hammelbeck
> Labels: CCITTFaxDecode, ccitt
> Attachments: myDocument.pdf, myImage.tif
>
>
> I try to create a PDF for a given TIFF image while trying
> ImageToPDF imageToPDF = new ImageToPDF();
> imageToPDF.createPDFFromImage("c:\\tmp\\myDocument.pdf", "c:\\tmp\\myImage.tif");
> Problem: Acrobat Reader (Version 9.3.4) cannot display the generated file myDocument.pdf
> The error message shown by Acrobat Reader says that there is "insufficient data for an image" (in German: "Nicht genügend Daten für ein Bild")
--
This message was sent by Atlassian JIRA
(v6.2#6252)