Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-934

ImageToPDF.createPDFFromImage causes problems for certain TIFF inputs

    Details

      Description

      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")

        Attachments

        1. myDocument.pdf
          11 kB
          Stefan Hammelbeck
        2. myImage.tif
          11 kB
          Stefan Hammelbeck

          Activity

            People

            • Assignee:
              tilman Tilman Hausherr
              Reporter:
              jovel Stefan Hammelbeck
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: