You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by dhemeryy <da...@dhemery.com> on 2002/04/18 23:22:08 UTC
Ant task to rasterize SVG?
Hello,
Do any of you know of an Ant task that rasterizes SVG, and spits out
JPG or GIF or whatever?
Dale
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Ant task to rasterize SVG?
Posted by dhemeryy <da...@dhemery.com>.
Hi Nicola,
> > I snooped around the web, and found out that the Batik 1.1.1
> > rasterizer produces JPGs correctly under JRE 1.3, but not under
> > JRE 1.4.
> >
> > So now I run Ant under JRE 1.3, and the <rasterize> task works
> > just fine.
>
> AFAIK, this bug is fixed in current CVS; over at Cocoon we are using
> batik 1.5beta because of this.
I searched Apache's bugzilla and found the fix. I applied it to Batik
1.1.1 and now it works under JRE 1.4.
I've been reluctant to switch to beta versions. Are my fears
unwarranted?
Dale
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Ant task to rasterize SVG?
Posted by Nicola Ken Barozzi <ni...@apache.org>.
From: "dhemeryy" <da...@dhemery.com>
> Hi Nicola,
>
> > > Do any of you know of an Ant task that rasterizes SVG, and spits
> > > out JPG or GIF or whatever?
> >
> > In the batik module under the contrib section there's an Ant task
> > that does just that.
>
> Thank you very much! I've been running Batik by hand, so this is an
> easy step for me.
>
> I had trouble at first. The <rasterize> task was creating blank
> JPGs. So I ran the Batik rasterizer by hand, and found that it, too,
> created blank JPGs. So I ran the Batik SVG browser, and it worked
> just fine. What the hey!?
>
> I snooped around the web, and found out that the Batik 1.1.1
> rasterizer produces JPGs correctly under JRE 1.3, but not under JRE
> 1.4.
>
> So now I run Ant under JRE 1.3, and the <rasterize> task works just
> fine.
AFAIK, this bug is fixed in current CVS; over at Cocoon we are using batik
1.5beta because of this.
--
Nicola Ken Barozzi nicolaken@apache.org
- verba volant, scripta manent -
(discussions get forgotten, just code remains)
---------------------------------------------------------------------
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Ant task to rasterize SVG?
Posted by dhemeryy <da...@dhemery.com>.
Hi Nicola,
> > Do any of you know of an Ant task that rasterizes SVG, and spits
> > out JPG or GIF or whatever?
>
> In the batik module under the contrib section there's an Ant task
> that does just that.
Thank you very much! I've been running Batik by hand, so this is an
easy step for me.
I had trouble at first. The <rasterize> task was creating blank
JPGs. So I ran the Batik rasterizer by hand, and found that it, too,
created blank JPGs. So I ran the Batik SVG browser, and it worked
just fine. What the hey!?
I snooped around the web, and found out that the Batik 1.1.1
rasterizer produces JPGs correctly under JRE 1.3, but not under JRE
1.4.
So now I run Ant under JRE 1.3, and the <rasterize> task works just
fine.
Dale
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Ant task to rasterize SVG?
Posted by Nicola Ken Barozzi <ni...@apache.org>.
From: "dhemeryy" <da...@dhemery.com>
> Hello,
>
> Do any of you know of an Ant task that rasterizes SVG, and spits out
> JPG or GIF or whatever?
In the batik module under the contrib section there's an Ant task that does
just that.
--
Nicola Ken Barozzi nicolaken@apache.org
- verba volant, scripta manent -
(discussions get forgotten, just code remains)
---------------------------------------------------------------------
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>