Uploaded image for project: 'XMLGraphicsCommons'
  1. XMLGraphicsCommons
  2. XGC-102

Problem in rendering PNG images with ImageLoaderRawPNG in XMLGraphics 2.0.1 and FOP2.0

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.1
    • 2.2
    • general
    • None
    • FOP 2.0., PDF rendering of a PNG Image using ImageLoaderRawPNG

    Description

      I am migrating from FOP 1.0 to FOP 2.0

      I have made the required Java code changes as per the changed API.

      There are PNG images used in the report generated using PDF renderer..

      Initially with FOP 1.0, I tried ImageLoaderPNG. However, the resolution of the image gets impacted. So I shifted to ImageLoaderRawPNG which rendered it properly.

      So this was working fine with FOP 1.0
      However, FOP 2.0 is not able to render the image with ImageLoaderRawPNG and throws exception..

      Attached the PNG image, exception and the intermediate XSL-FO file (partial) generated with ImageLoaderRawPNG.

      Attachments

        1. graph1icc.png
          20 kB
          Luis Bernardo
        2. FOP_2.0.rar
          7.07 MB
          Nishita Rai
        3. FOP_1.1.rar
          6.48 MB
          Nishita Rai
        4. Images.rar
          90 kB
          Nishita Rai
        5. Docs.zip
          4 kB
          Mandar Nimbkar

        Activity

          People

            Unassigned Unassigned
            mandar02 Mandar Nimbkar
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: