Sending event to SVG document loaded in JSVGCanvas

2003-12-04 Thread Stefano Bruna
Hi all !   Is this the correct way ti send an event to an element of a svg document loader in a SVGCanvas ?       this.m_svgCanvas.getUpdateManager().getUpdateRunnableQueue().invokeLater(new Runnable() {     public void run() {     DocumentEvent de

Re: Error converting SVG to PNG

2003-12-04 Thread Thomas DeWeese
Hi James, Please check the web site first in the future, from CVS Repository: http://cvs.apache.org/builds/xml-batik/ James Drayton wrote: Where can I get the nightly dump? -Original Message- From: Thomas DeWeese [mailto:[EMAIL PROTECTED] Sent: Thursday, December 04, 2003 3:58 PM T

RE: Error converting SVG to PNG

2003-12-04 Thread James Drayton
Where can I get the nightly dump? -Original Message- From: Thomas DeWeese [mailto:[EMAIL PROTECTED] Sent: Thursday, December 04, 2003 3:58 PM To: Batik Users Subject: Re: Error converting SVG to PNG [EMAIL PROTECTED] wrote: > When using the batik-rasterizer.jar on the attached file I g

RE: Batik doesn't render this properly

2003-12-04 Thread Grinvald, Edward
Thank you. | eg | -Original Message- From: Thomas DeWeese [mailto:[EMAIL PROTECTED] Sent: Thursday, December 04, 2003 3:33 PM To: Batik Users Subject: Re: Batik doesn't render this properly Grinvald, Edward wrote: > Thank you for the response, but there also appears to be a loss of

Re: Error converting SVG to PNG

2003-12-04 Thread Thomas DeWeese
[EMAIL PROTECTED] wrote: When using the batik-rasterizer.jar on the attached file I get the following error: Converting mapsApp.svg to ..\TestArea\mapsApp.png ... java.lang.NullPointerException at org.apache.batik.bridge.DocumentLoader.getLineNumber(Unknown Source) [...] ...Any ideas??

Error converting SVG to PNG

2003-12-04 Thread jdiddycmsc
Good Day All, When using the batik-rasterizer.jar on the attached file I get the following error: Converting mapsApp.svg to ..\TestArea\mapsApp.png ... java.lang.NullPointerException at org.apache.batik.bridge.DocumentLoader.getLineNumber(Unknown Source) at org.apache.batik.bridge

Re: Batik doesn't render this properly

2003-12-04 Thread Thomas DeWeese
Grinvald, Edward wrote: Thank you for the response, but there also appears to be a loss of color in the gradient of the _monitor_. After replacing patternContentUnits="objectBoundingBox" with viewBox="0 0 1 1" preserveAspectRatio="none" The renderings are almost indistinguishable. Also looki

RE: Batik doesn't render this properly

2003-12-04 Thread Grinvald, Edward
Hi Thomas, Thank you for the response, but there also appears to be a loss of color in the gradient of the _monitor_. | eg | -Original Message- From: Thomas DeWeese [mailto:[EMAIL PROTECTED] Sent: Thursday, December 04, 2003 3:07 PM To: Batik Users Subject: Re: Batik doesn't render thi

Re: Batik doesn't render this properly

2003-12-04 Thread Thomas DeWeese
Grinvald, Edward wrote: I have an image that renders well in ie (w/ adobe plug-in), and looks completely different with batik. Does anyone know what the problem is? Hi Edward, The problem is the use of patternContentUnits="objectBoundingBox". take the example from the specification:

Batik doesn't render this properly

2003-12-04 Thread Grinvald, Edward
Hello all, I have an image that renders well in ie (w/ adobe plug-in), and looks completely different with batik. Does anyone know what the problem is?   Edward GrinvaldSoftware Engineer, BrightStorComputer Associates International ()One Computer Associates PlazaIslandia

Re: How to use "org.apache.batik.ext.awt.image.codec.tiff " ?

2003-12-04 Thread Thomas DeWeese
Gergely Hajdu wrote: Honestly, my needs are absolutely not so big at all concerning the quality of the TIFF. Actually I just plain text I want to visualise, on white/transparent background with black text. So as long as the text can be seen, I wil be satisfied :=) Huh, isn't there any easier way t

[OT] Sketsa (WYSIWYG SVG Editor) 1.5 released

2003-12-04 Thread Tonny Kohar
Hi all, Sketsa is a vector based drawing application based on SVG. Scalable Vector Graphics (SVG) is a graphics format and technology based on XML developed by W3C. With Sketsa, you can create vector graphics that can be scaled and printed at any resolution, without losing detail or clarity. You a

RE: How to use "org.apache.batik.ext.awt.image.codec.tiff " ?

2003-12-04 Thread Gergely Hajdu
Honestly, my needs are absolutely not so big at all concerning the quality of the TIFF. Actually I just plain text I want to visualise, on white/transparent background with black text. So as long as the text can be seen, I wil be satisfied :=) Huh, isn't there any easier way to achieve this than t

Re: How to use "org.apache.batik.ext.awt.image.codec.tiff " ?

2003-12-04 Thread Thomas DeWeese
Gergely Hajdu wrote: Finally Thomas, I've managed to run the program :=) But there are just a small bit missingThe created TIFF-image can't be viewed, I just see a black background. Actually you are seeing opaque black text on a transparent black background :) You either need to insert an o

RE: How to use "org.apache.batik.ext.awt.image.codec.tiff " ?

2003-12-04 Thread Gergely Hajdu
Finally Thomas, I've managed to run the program :=) But there are just a small bit missingThe created TIFF-image can't be viewed, I just see a black background. When I view the TIFF with "Microsoft Photo Editor" I just got a "can't determine type" error. When I view it with I.E or "Imaging Pr

Re: How to use "org.apache.batik.ext.awt.image.codec.tiff " ?

2003-12-04 Thread Thomas DeWeese
Gergely Hajdu wrote: Hi Thomas, I looked at the documentation for SVGAbstractRenderer-class, and there are no constructor that takes these arguments : super.transcode(document, uri, output); This is a call to a baseclass method not a constructor, and because this method shows up in the stack t

Re: How to use "org.apache.batik.ext.awt.image.codec.tiff " ?

2003-12-04 Thread Thomas DeWeese
Gergely Hajdu wrote: You are right, I meant baseclass method. I have removed the batik.jar from FOP, but then I just got some other error. java.lang.NoClassDefFoundError: org/apache/batik/i18n/Localizable at java.lang.ClassLoader.defineClass0(Native Method) > [...] Exception in thread "ma

RE: How to use "org.apache.batik.ext.awt.image.codec.tiff " ?

2003-12-04 Thread Gergely Hajdu
Hi Thomas, You are right, I meant baseclass method. I have removed the batik.jar from FOP, but then I just got some other error. java.lang.NoClassDefFoundError: org/apache/batik/i18n/Localizable at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineCl

RE: How to use "org.apache.batik.ext.awt.image.codec.tiff " ?

2003-12-04 Thread Gergely Hajdu
Hi Thomas, I looked at the documentation for SVGAbstractRenderer-class, and there are no constructor that takes these arguments : super.transcode(document, uri, output); so therefore I got the NoSuchMethodErrorException. I recently downloaded batik-1.5.zip, and thats the version I am running. B

Re: How to use "org.apache.batik.ext.awt.image.codec.tiff " ?

2003-12-04 Thread Thomas DeWeese
Gergely Hajdu wrote: I have downloaded the file and running the static-main method of the TileImageEncoder class. But I got the following error-message : ava.lang.NoSuchMethodError at org.apache.batik.transcoder.SVGAbstractTranscoder.transcode(Unknown Source) > Do you have any idea why ?

RE: How to use "org.apache.batik.ext.awt.image.codec.tiff " ?

2003-12-04 Thread Gergely Hajdu
Hi Thomas, I have downloaded the file and running the static-main method of the TileImageEncoder class. But I got the following error-message : ava.lang.NoSuchMethodError at org.apache.batik.transcoder.SVGAbstractTranscoder.transcode(Unknown Source) at testing.TiledImageTranscoder

Re: HTML image map transcoder: great but some problems

2003-12-04 Thread Robert Casties
Yoganarasimha G wrote: HI Robert, can u pl send me an example how to get the html image map from an svg doc? Currently the road is rather stony and requires some Java skills :-) You have to take the code from Torstens mail http://koala.ilog.fr/batik/mlists/batik-dev/archives/msg03068.html and

Re: How to use "org.apache.batik.ext.awt.image.codec.tiff " ?

2003-12-04 Thread Thomas DeWeese
Gergely Hajdu wrote: I am using the org.apache.batik.transcoder and org.apache.batik.transcoder.image packages to create TIFF-images.I wonder how to combine these with org.apache.batik.ext.awt.image.codec.tiff packages to compress the TIFF-image I am about to create. In this code snippet, "Images/T

Re: How to use "org.apache.batik.ext.awt.image.codec.tiff " ?

2003-12-04 Thread Thomas DeWeese
Gergely Hajdu wrote: Sorry, but I can't find the contribution where the TileImageTranscoder is. The only "contributor" area I find, is the one with the Batik Committers (http://xml.apache.org/batik/whoAreWe.html). Sorry, if you are working with the binary distribution you won't see it, here i

RE: How to use "org.apache.batik.ext.awt.image.codec.tiff " ?

2003-12-04 Thread Gergely Hajdu
Hi Thomas, Sorry, but I can't find the contribution where the TileImageTranscoder is. The only "contributor" area I find, is the one with the Batik Committers (http://xml.apache.org/batik/whoAreWe.html). Regards /Gergely -Original Message- From: Thomas DeWeese [mailto:[EMAIL PROTECTED] S

Re: applet security issue

2003-12-04 Thread Robert Casties
Weiming Zhang wrote: I signed my own jar file with the key. I am using java 1.4.2. But I keep getting the security exception whenever I want to load local svg files into applet. Do I need to sign the batik lib files? Anybody did the applet signing with batik? I don't know much about Applets but as

How to use "org.apache.batik.ext.awt.image.codec.tiff " ?

2003-12-04 Thread Gergely Hajdu
I am using the org.apache.batik.transcoder and org.apache.batik.transcoder.image packages to create TIFF-images.I wonder how to combine these with org.apache.batik.ext.awt.image.codec.tiff packages to compress the TIFF-image I am about to create. In this code snippet, "Images/Template.svg" is the f