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

Transparent 16 bit image doesn't display in Adobe Reader

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      Thomas on stackoverflow has very simple code that creates a PDF from a 16 bit PNG image. The PDF displays fine on Adobe Reader in 2.0.8 but no longer since 2.0.12. It displays on all other viewers I've tried: PDFBox, GS, PDF.js and Chrome. It works on Adobe Reader when disabling the predictor logic in LosslessFactory.java. Thomas and I narrowed the problem last evening and now he has a non confidential file for us and also a workaround on his side.

      To reproduce the problem I used the ImageToPDF example.

      cc Emmeran Seehuber

      the "bad" file has imageType custom, colorspace with getNumComponents = 1, 8 bpc, data buffer TYPE_BYTE

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            tilman Tilman Hausherr
            tilman Tilman Hausherr
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment