You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The ConvolveMatrix test (rendering of samples/tests/spec/filters/feConvolveMatrix.svg in SamplesRenderingTest.testFilterFeConvolveMatrix()) fails with an exception:
java.awt.image.ImagingOpException: Unable to convolve src image
The problem happens at line 404 of io.sf.carte.echosvg.ext.awt.image.renderable.ConvolveMatrixRable8Bit:
// Easy case just apply the op...destBI = op.filter(srcBI, null);
which calls java.awt.image.ConvolveOp.filter(BufferedImage, BufferedImage) and there (line 197):
if (ImagingLib.filter(this, src, dst) == null) {
thrownewImagingOpException ("Unable to convolve src image");
}
Once in ImagingLib.filter we get into ImagingLib.convolveBI(BufferedImage, BufferedImage, Kernel, int) which is where it fails (line 259): it tests for the convolveBI result being greater than zero which is not the case, and then returns the null value which triggers the exception.
It is difficult to debug what is going on in ImagingLib.convolveBI because it is native code.
The text was updated successfully, but these errors were encountered:
The ConvolveMatrix test (rendering of
samples/tests/spec/filters/feConvolveMatrix.svg
inSamplesRenderingTest.testFilterFeConvolveMatrix()
) fails with an exception:This bug is the same as BATIK-1280.
The problem happens at line 404 of
io.sf.carte.echosvg.ext.awt.image.renderable.ConvolveMatrixRable8Bit
:which calls
java.awt.image.ConvolveOp.filter(BufferedImage, BufferedImage)
and there (line 197):Once in
ImagingLib.filter
we get intoImagingLib.convolveBI(BufferedImage, BufferedImage, Kernel, int)
which is where it fails (line 259): it tests for theconvolveBI
result being greater than zero which is not the case, and then returns thenull
value which triggers the exception.It is difficult to debug what is going on in
ImagingLib.convolveBI
because it is native code.The text was updated successfully, but these errors were encountered: