Thanks, David. However I still get the problem: Previously when transcoding, I used the new TranscoderInput(String URI) constructor for input, and everything works fine. My output stream size is about 5k in this instance. >> transcoder.transcode(new TranscoderInput(uri), new TranscoderOutput(ostream));
However, now I'm attempting to use the new TranscoderInput(Document doc) constructor for input, and I do not seem to get any image output. My output stream is 991 in this instance. >> transcoder.transcode(new TranscoderInput(document), new TranscoderOutput(ostream)); The rest of the code (including the TranscoderOutput) is identical. The only thing I can get from debugging it is the difference in output size. The only thing I have changed is the transcode method. I need to do this because performance in unacceptable the other way. Has anyone used the "document" version of transcode successfully? Thanks, Tony -----Original Message----- From: David Smith [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 19, 2001 3:52 AM To: 'Batik Users' Subject: RE: 1.1.1 transcoding I cannot vouch for the xml transcoders, but it works fine with svg transcoders in both 1.0 and 1.1 -----Original Message----- From: Anthony Shawver [mailto:[EMAIL PROTECTED]] Sent: 18 December 2001 22:56 To: Batik Users Subject: 1.1.1 transcoding Hi All, I created an application with version 1.0 and was forced (due to I think, a bug at the time) to create the XML, write to disk, then read from disk for transcoding files to jpeg format. I would like to call the transcoder with just the XML and not create any "temporary" files. Has anyone verified this works properly with 1.1.1? I think it is simply a matter of using: public void transcode(TranscoderInput input, TranscoderOutput output) and passing it a TranscoderInput using a Document as the argument instead of my current way which passes a URI as the constructor's argument. Can anyone verify this functionality? Thanks, Tony ************************************************************************ This Internet E-mail is intended solely for the person to whom it is addressed. It may contain confidential or privileged information. If you have received it in error please notify us immediately by telephone and destroy the transmission. You must not copy, distribute or take any action in reliance on it. Aerosystems International Phone: +44 (0)1935 443000 Fax : +44 (0)1935 443111 Web : www.aeroint.com ************************************************************************ --------------------------------------------------------------------- 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]