Problem generating PDF

2001-12-03 Thread Russ Leong
Hi all,   As I read the ability to output to JPEG or PDF is because of the transcoders, I changed the transcoder from JPEG to PDF to find out if it is so. import java.io.*;import org.apache.batik.transcoder.image.JPEGTranscoder;import org.apache.fop.svg.PDFTranscoder;import org.apache.batik

svg raster generation in tomcat

2001-12-03 Thread Todd Wesslen
Here is a unique problem: I am generating a raster image (PNG) from a svg file dynamically in a web application running under tomcat. The first time this is done, i.e. anytime the webapp is hit after the tomcat instance is first started, everything works fine. When I redeploy and hit the webapp

Success!

2001-12-03 Thread David Smith
For newbies the world over, Christophe Jolife was right!! Here is how you display an image in SVG svgRoot.setAttributeNS(null, "xmlns", "http://www.w3.org/2000/svg";); svgRoot.setAttributeNS("xmlns", "xlink", "http://www.w3.org/1999/xlink";); Element e = doc.createEleme

Transcoders to PNG, GIF, JPG, WBMP

2001-12-03 Thread Thomas E Deweese
> "AK" == Alex Kachanov <[EMAIL PROTECTED]> writes: AK> Hello! I'm now working on a project that uses Cocoon to serve web AK> content for mobile devices, including WAP-phones, i-Mode, J-Phone, AK> EZweb, and PDA. AK> The text part of the content is generated from a single xml file AK> with