>>>>> "KL" == Keiron Liddle <[EMAIL PROTECTED]> writes:
KL> On Tue, 25 Sep 2001 15:22:36 Thomas E Deweese wrote:
>> What about printing the 'img'? Is it a GraphicsNodeRable8Bit?
KL> it is org.apache.batik.ext.awt.image.renderable.RedRable@aeb74
KL> The object returned is this
KL> java.lang.Object@3b494b:class java.lang.Object
KL> and this statement System.out.println("test:" +
KL> img.getProperty("blah")); prints this test:java.lang.Object@3b494b
KL> So it is the same object and I presume you never set the property
KL> "blah". So maybe this is a jvm issue. I am running jdk1.3.0_02
KL> on linux.
Thanks for working with me on this...
I think I have tracked it down to a bug in the way BufferedImage
handles properties (see attached Java file for demonstration).
So I guess I'll bend an put in the 'instanceof' check before the
cast, expect the commit shortly.
FYI: you are hitting this probably because for some reason you are
hitting the default broken-link handler instead of the SVG broken link
handler. Which is probably something worth checking into at some
point. I'm guessing the SVG provider is failing somewhere, most
likely being unable to find the broken-link image resource (normally
org/apache/batik/bridge/BrokenLink.svg) is it possible this isn't
available on your classpath for some reason?
BIProp.java
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]