Can someone please explain the difference between Element.setAttribute
and Element.setAttributeNS(), as it affects Batik? My code loads a
document into the canvas and performs various modifications to the DOM,
adding various , and Elements. I notice that through
accretion, my code is using all
Hi Thomas,
I managed to insert the white rectangle. Now some different questions :
1.Why can't the image be seen if a compress it ? My code for doing this
is the following :
TIFFImageEncoder enc = new TIFFImageEncoder(output.getOutputStream(), null);
TIFFEncodeParam tiffParams = new TIFFEncodeP
Hi,
I am having a problem using Batik and I hope you can help me
solve it.
I have two svg files stored in a certain directory in my
hard disk; one of them is a background image, while the other
contains all the drawings that two different users dynamically
add to the background.
In my application I
Hi George,
George Armhold wrote:
Can someone please explain the difference between Element.setAttribute
and Element.setAttributeNS(), as it affects Batik? My code loads a
document into the canvas and performs various modifications to the DOM,
adding various , and Elements. I notice that throu
Hi Gergely,
Gergely Hajdu wrote:
I managed to insert the white rectangle. Now some different questions :
1.Why can't the image be seen if a compress it ? My code for doing this
is the following :
Why can't the image be seen where?
I could believe that the software you are using to view the
Hi Maria,
maria teresa wrote:
I am having a problem using Batik and I hope you can help me
solve it.
I have two svg files stored in a certain directory in my
hard disk; one of them is a background image, while the other
contains all the drawings that two different users dynamically
add to the bac
Saiprasad_Boinkar wrote:
This is Sai Prasad from hyderabad,india. It is regarding error when
creating an image using the JPEG Encoder classes : Iam getting
java.lang.IllegalArgumentException: NumComponents not in sync with
COLOR_ID . The code is working fine in windows98/2000 .Iam facing this
Thomas DeWeese wrote:
I think you have fooled your self.
Yeah, well I'm pretty good at that sometimes. :-)
For all intents and purposes _nothing_ uses e.setAttributeNS(svgNS,
...) - I don't know where you got the impression you needed to do
this for 'id' you do not.
At some point in the d
George Armhold wrote:
Thomas DeWeese wrote:
At some point in the distant past I came to believe that the svgNS had
to be specified for certain attribs. Too long ago to remember
how or why I developed this misconception.
Well it is always required for createElementNS. Perhaps you
switched all
Thomas DeWeese wrote:
> Well it is always required for createElementNS. Perhaps you
> switched all of your createElement/setAttribute calls to
> createlementNS(svgns,...)/setAttributeNS(svgns,...) And since
> something suddenly started appearing you lumped the two together?
This sounds pretty li
George Armhold wrote:
Thomas DeWeese wrote:
> Well it is always required for createElementNS. Perhaps you
> switched all of your createElement/setAttribute calls to
> createlementNS(svgns,...)/setAttributeNS(svgns,...) And since
> something suddenly started appearing you lumped the two toge
Hello,
We are using Batik for a custom user
interface in a large application. We are experiencing random crashes of
the JVM. We are using j2sdk1.4.2_01 running on Red Hat Linux release 9
(Shrike). I have attached a log hoping that someone may be able to provide
some insight. Any help would be gre
I generate a svg with batik 1.5 and I stream it using this part of code:
try {
Writer out = new OutputStreamWriter(response.getOutputStream(), "iso-8859-1");
calendrerForm.getSvg1().stream(out,false);
}
catch(Exception e){
e.printStackTrace();
}finally{
out.close();
response.getOutputStream().f
Thomas DeWeese wrote:
Dynamic modifications to an existing filter are not currently
tracked. If you create a new filter and set the filter property on
an element it should update.
If the above does not sound like your problem I'll take a look
at your example.
I'm creating a new filter each time.
[EMAIL PROTECTED] wrote:
We are using Batik for a custom user interface in a large application.
We are experiencing random crashes of the JVM. We are using
j2sdk1.4.2_01 running on Red Hat Linux release 9 (Shrike). I have
attached a log hoping that someone may be able to provide some insight.
George Armhold wrote:
Thomas DeWeese wrote:
I'm creating a new filter each time. Unfortunately the code is rather
complex. I'm trying to boil it down to something digestible.
In brief, here's what I'm doing.
1. Dynamically create simple SVGDocument (runs in the Swing thread.)
2. Add filter to
Hello,
I am trying to get Batik to render the following SVG:
http://www.w3.org/2000/svg"; width="1000" height="500">
Rockwell Normal
Rockwell Bold
Rockwell Extra Bold
Rockwell Extra Bold
The first text element renders properly in normal font.
The second text element also renders properly in
17 matches
Mail list logo