Uploaded image for project: 'Batik'
  1. Batik
  2. BATIK-1280

Batik can not render SVG filter feConvolveMatrix

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.11, 1.12
    • Fix Version/s: None
    • Component/s: GVT Filters, Samples, SVG Viewer
    • Labels:
      None
    • Environment:
      * Arch Linux x86_64 5.5.7-arch1-1 - OpenJDK version "1.8.0_242"
      * Ubuntu 18.04 - OpenJDK version "1.8.0_242"
      * Windows 10 - OracleJRE 8

      Description

      # java -jar batik-squiggle-1.12.jar
      java.awt.image.ImagingOpException: Unable to convolve src image
      	at java.awt.image.ConvolveOp.filter(ConvolveOp.java:198)
      	at org.apache.batik.ext.awt.image.renderable.ConvolveMatrixRable8Bit.createRendering(ConvolveMatrixRable8Bit.java:404)
      	at org.apache.batik.ext.awt.image.GraphicsUtil.drawImage(GraphicsUtil.java:449)
      	at org.apache.batik.ext.awt.image.renderable.PadRable8Bit.paintRable(PadRable8Bit.java:135)
      	at org.apache.batik.ext.awt.image.GraphicsUtil.drawImage(GraphicsUtil.java:440)
      	at org.apache.batik.ext.awt.image.renderable.PadRable8Bit.paintRable(PadRable8Bit.java:135)
      	at org.apache.batik.ext.awt.image.GraphicsUtil.drawImage(GraphicsUtil.java:440)
      	at org.apache.batik.ext.awt.image.renderable.FilterChainRable8Bit.paintRable(FilterChainRable8Bit.java:251)
      	at org.apache.batik.ext.awt.image.GraphicsUtil.drawImage(GraphicsUtil.java:440)
      	at org.apache.batik.gvt.AbstractGraphicsNode.paint(AbstractGraphicsNode.java:550)
      	at org.apache.batik.gvt.CompositeGraphicsNode.primitivePaint(CompositeGraphicsNode.java:165)
      	at org.apache.batik.gvt.AbstractGraphicsNode.paint(AbstractGraphicsNode.java:509)
      	at org.apache.batik.gvt.CompositeGraphicsNode.primitivePaint(CompositeGraphicsNode.java:165)
      	at org.apache.batik.gvt.AbstractGraphicsNode.paint(AbstractGraphicsNode.java:509)
      	at org.apache.batik.gvt.CompositeGraphicsNode.primitivePaint(CompositeGraphicsNode.java:165)
      	at org.apache.batik.gvt.AbstractGraphicsNode.paint(AbstractGraphicsNode.java:509)
      	at org.apache.batik.gvt.CompositeGraphicsNode.primitivePaint(CompositeGraphicsNode.java:165)
      	at org.apache.batik.gvt.AbstractGraphicsNode.paint(AbstractGraphicsNode.java:509)
      	at org.apache.batik.gvt.CompositeGraphicsNode.primitivePaint(CompositeGraphicsNode.java:165)
      	at org.apache.batik.gvt.CanvasGraphicsNode.primitivePaint(CanvasGraphicsNode.java:159)
      	at org.apache.batik.gvt.AbstractGraphicsNode.paint(AbstractGraphicsNode.java:509)
      	at org.apache.batik.gvt.CompositeGraphicsNode.primitivePaint(CompositeGraphicsNode.java:165)
      	at org.apache.batik.gvt.filter.GraphicsNodeRed8Bit.genRect(GraphicsNodeRed8Bit.java:141)
      	at org.apache.batik.gvt.filter.GraphicsNodeRed8Bit.copyData(GraphicsNodeRed8Bit.java:117)
      	at org.apache.batik.ext.awt.image.rendered.TileCacheRed.genRect(TileCacheRed.java:63)
      	at org.apache.batik.ext.awt.image.rendered.AbstractTiledRed.drawBlockInPlace(AbstractTiledRed.java:625)
      	at org.apache.batik.ext.awt.image.rendered.AbstractTiledRed.drawBlock(AbstractTiledRed.java:544)
      	at org.apache.batik.ext.awt.image.rendered.AbstractTiledRed.copyToRasterByBlocks(AbstractTiledRed.java:430)
      	at org.apache.batik.ext.awt.image.rendered.AbstractTiledRed.copyData(AbstractTiledRed.java:297)
      	at org.apache.batik.ext.awt.image.rendered.TranslateRed.copyData(TranslateRed.java:105)
      	at org.apache.batik.ext.awt.image.rendered.PadRed.copyData(PadRed.java:88)
      	at org.apache.batik.gvt.renderer.StaticRenderer.repaint(StaticRenderer.java:393)
      	at org.apache.batik.gvt.renderer.StaticRenderer.repaint(StaticRenderer.java:343)
      	at org.apache.batik.swing.gvt.GVTTreeRenderer.run(GVTTreeRenderer.java:123) 

        Attachments

        1. feConvolveMatrix.svg
          13 kB
          Sebastian Schlatow

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              buzz-dee Sebastian Schlatow
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: