Hi The problem with SVGGraphics2D was actually a small bug in the PNGImageEncoder.java. Thanks to Thomas for finding out and the bugfix.
Everything now works perfect! :-) Regards Carsten Birn > Hi Carsten, > > Carsten L. Birn wrote: > > > It looks like your patch is working :o) > > The lines at the right of the images have disappeared. > > Good, I'll check the patch in then. > > > The bitDepth was probably the Joker here, because the encoder worked for > > images loaded with toolkit.getImage(file). > > Yes, ImageIO appears to (quite properly) create a 1 bit/pixel > image, which the PNG Encoder had a small bug with. > > > I am very very happy that the patch worked, because the use of ImageIo > > is prefered due to its extensibility. > > The hacks with the loading ( thread.sleep) can also be removed. > > There are better ways to handle loading properly, I pointed you > at a class that you could use - which introduces a minimal amount > of code ugliness. > > > So a lot of thanks for the investigation and solve. > > Thanks for raising the issue. > > BTW you might want to let the Batik mail-list know that this > fixed your problem. > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]