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

Apache PDF issue while rendering images

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Cannot Reproduce
    • 1.0
    • None
    • image/jpeg
    • None
    • Linux, windows

    Description

      Hi,

      I'm facing issue while rendering images. Some images are failing to render in the generated PDF. Please suggest me if anything i missed here or any workaround is there.

      Please find the below details
      FOP version - 1.0
      OS - Unix, Windows

      XSL-FO desc:

      <fo:block margin-top="0px" space-before="0px" margin-right="0px" margin-bottom="0px" margin-left="0px" padding-top="0px" padding-right="0px" padding-bottom="0px" padding-left="0px" font-size="100%">
      <fo:external-graphic border="2px solid" border-top-width="0px" border-bottom-width="0px" border-left-width="0px" border-right-width="0px" src="url('http://document.int.nextcanada.westlaw.com/Blob/V1/I070f7ddba9430301e0540021280d79ee.png?targetType=inline&originationContext=document')" role="Image 1 within Option Consommateurs c. Infineon Technologie, a.g." content-width="486" content-height="411"></fo:external-graphic>
      </fo:block>

      Error message: Raster ByteInterleavedRaster: width = 486 height = 411 #numDataElements 3 dataOff[0] = 2 is incompatible with ColorModel ColorModel: #pixelBits = 8 numComponents = 1 color space = java.awt.color.ICC_ColorSpace@1aef205 transparency = 1 has alpha = false isAlphaPre = false

      Attachments

        1. FO.xml
          7 kB
          Sushmitha
        2. file0.jpg
          119 kB
          Sushmitha
        3. file1.png
          109 kB
          Sushmitha
        4. file6.png
          115 kB
          Sushmitha

        Activity

          People

            Unassigned Unassigned
            sushmithakm Sushmitha
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: