Uploaded image for project: 'FOP'
  1. FOP
  2. FOP-3171

Certain PNG images (grayscale, transparent) produce broken PDF

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.8
    • None
    • image/png
    • None

    Description

      Rendering the attached document, which references the also attached image, produces a broken PDF in version 2.8 and 2.9. Depending on the PDF viewer, the image is distorted, or is shown with a large black bar at the bottom, or is shown three times, or is not shown at all. In some viewers, the content following the image is not shown.

      Up until version 2.7 the resulting PDF was fine. Generated PDFs are attached.

      The image in question was auto-generated by a customer. If this cannot be fixed easily, it may help to know what property of the image causes the problem for finding a workaround.

      Attachments

        1. document.fo
          6 kB
          Martin Leitner
        2. fop_2.6_ok.pdf
          14 kB
          Martin Leitner
        3. fop_2.7_ok.pdf
          14 kB
          Martin Leitner
        4. fop_2.8_nok.pdf
          15 kB
          Martin Leitner
        5. fop_2.9_nok.pdf
          15 kB
          Martin Leitner
        6. number.png
          8 kB
          Martin Leitner

        Issue Links

          Activity

            People

              Unassigned Unassigned
              martin.leitner@infinica.com Martin Leitner
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: