I see JPEGImageWriter in the docs, but my 1.7 distribution doesn't have it. It is not in batik-awt-util.jar.
-----Original Message----- From: Helder Magalhães [mailto:[EMAIL PROTECTED] Sent: Thursday, March 06, 2008 7:42 AM To: [email protected] Subject: Re: org.apache.batik.transcoder.TranscoderException: null > ImageWriterRegistry.getInstance() is a do-nothing method! Is there > something I don't know about? I'm not familiar with this... > ImageWriter writer = > ImageWriterRegistry.getInstance().getWriterFor("image/jpeg"); > returns a null ImageWriter. I'm not sure why. You may try to instance "org.apache.batik.ext.awt.image.codec.jpeg.JPEGImageWriter" directly and check if it does the trick... Regards, Helder Magalhães --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
