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

java.awt.image.ImagingOpException: Unable to convolve src image

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Resolution: Fixed
    • 1.1.x
    • None
    • GVT Filters
    • None
    • Operating System: other
      Platform: Other

    Description

      java.awt.image.ImagingOpException: Unable to convolve src image
      at java.awt.image.ConvolveOp.filter(ConvolveOp.java:228)
      at org.apache.batik.ext.awt.image.rendered.GaussianBlurRed8Bit.copyData(
      GaussianBlurRed8Bit.java:246)


      try that:

      <?xml version="1.0" standalone="no"?>
      <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN"
      "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">

      <!-- ====================================================================== -->
      <!-- Copyright (C) The Apache Software Foundation. All rights reserved. -->
      <!-- -->
      <!-- This software is published under the terms of the Apache Software -->
      <!-- License version 1.1, a copy of which has been included with this -->
      <!-- distribution in the LICENSE file. -->
      <!-- ====================================================================== -->

      <!-- ====================================================================== -->
      <!-- check updates on gradients, filter, mask, and clip regarding to -->
      <!-- geometry updates -->
      <!-- -->
      <!-- @author tkormann@ilog.fr -->
      <!-- @version $Id$ -->
      <!-- ====================================================================== -->

      <svg xmlns="http://www.w3.org/2000/svg"
      xmlns:xlink="http://www.w3.org/1999/xlink"
      id="body" width="450" height="500" viewBox="0 0 450 500">

      <defs>
      <filter id="filterObjectBoundingBox" filterUnits="objectBoundingBox"
      x="0" y="0" width="1" height="1">
      <feGaussianBlur/>
      </filter>

      </defs>

      <g id="test-content">

      <rect onclick="move(evt)" x="50" y="110" width="90" height="85"
      style="fill:crimson; filter:url(#filterObjectBoundingBox)"/>

      </g>

      </svg>

      Attachments

        1. feGaussianBlur.svg
          2 kB
          Thierry Kormann

        Activity

          People

            batik-dev@xmlgraphics.apache.org Batik Developer's Mailing list
            tkormann@apache.org Thierry Kormann
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: