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

Add auto fallback when Java cannot read image

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.8
    • None
    • None

    Description

      Workaround is to switch to Java 17 or use:
      <image-loading>
      <penalty value="-1000" class="org.apache.xmlgraphics.image.loader.impl.PreloaderRawPNG"/>
      </image-loading>

      Under Java 11:
      Caused by: java.lang.UnsupportedOperationException: readRaster not supported!
      at java.desktop/javax.imageio.ImageReader.readRaster(ImageReader.java:1284)

      Attachments

        Activity

          People

            ssteiner Simon Steiner
            ssteiner Simon Steiner
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: