Need help trying to replicate web example of Batik Transcoder in a Servlet using IIS/JRUN...

2002-03-20 Thread Carter, Will
Hi, I am trying to replicate the example of Batik in a servlet located in the example found here: http://www.xml.com/pub/a/2002/02/27/batik/index.html I am struggling with this and I appreciate any help you can offer. Attached is exactly what i have done and maybe you can help me figure out wha

createElementNS and and getComputedTextLength()

2002-03-20 Thread David Eason
Hello! I took a look at the link below which has some code for generating a rect element: http://xml.apache.org/batik/domapi.html // create the rectangle Element rectangle = doc.createElementNS(svgNS, "rect"); rectangle.setAttributeNS(null, "x", "10"); rectangle.setAttributeNS(null, "y", "20");

Document Coordinates VS Screen Coorinates

2002-03-20 Thread Jeremy E. Denton
Hey, Does anyone know how to differentiate between screen coordinates and svg document coordinates? (which may be different due to zooming or panning). Is there a function that gets the view bounds in document coordinates for instance? Jeremy E. Denton --

Re: PNG-8

2002-03-20 Thread Thomas E Deweese
> "RW" == Ryan Worley <[EMAIL PROTECTED]> writes: RW> PNG-8 is an 8-bit (256 color) PNG image. I believe that Batik RW> currently only supports PNG-24 (24-bit) PNG images. For graphics RW> that don't use more than 256 colors, it would be nice to have a RW> PNG-8 option to keep the file size

Re: PNG-8

2002-03-20 Thread Ryan Worley
PNG-8 is an 8-bit (256 color) PNG image. I believe that Batik currently only supports PNG-24 (24-bit) PNG images. For graphics that don't use more than 256 colors, it would be nice to have a PNG-8 option to keep the file size small. - Original Message - From: "Thomas E Deweese" <[EMAIL

PNG-8

2002-03-20 Thread Thomas E Deweese
> "RW" == Ryan Worley <[EMAIL PROTECTED]> writes: RW> What is the status of supporting PNG-8 with the Batik Rasterizer? What is PNG-8? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: Color changes when transcoding PNGs

2002-03-20 Thread Peter Becker
Thomas E Deweese wrote: >>"PB" == Peter Becker <[EMAIL PROTECTED]> writes: >> > >PB> upgrading to Batik 1.1.1 I have some problems getting the color of >PB> PNGs right. Basically I just run PNGTranscoder on an SVG file and >PB> e.g. #EE9D00 (given as fill="rgb(236,158,0)" for a ) turns >

Re: problem about "nodeHitAt"

2002-03-20 Thread ma zhenduo
Help me, tell me if the lower problem will be solve? When it will be solve? My boss want to know. I don't think I can solve it. It is a complicated problem and Adobe's browser can't solve it too. - Original Message - There are some problem about "nodeHitAt".  Wh

RE: JSVGCanvas: zoom control

2002-03-20 Thread Thierry Kormann
> Can you tell us where in the SVG Browser code that actually > makes the > modification to the AffineTransform using 'setRenderingTransform'? Well, load the file and search for 'svgCanvas.setRenderingTransform'. That's the more quick and precise answer I can give you as I don't which ver