[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua plot graphic
- From: Adrian Perez <moebius.lists@...>
- Date: Fri, 20 Oct 2006 23:54:55 +0200
On Thu, 19 Oct 2006 14:19:27 +0100
"Andy Stark" <AStark@blackpoolsixth.ac.uk> wrote:
> Lua list <lua@bazar2.conectiva.com.br> on Thursday, October 19, 2006
> at 11:06 +0000 wrote:
> >Hum .... SVG ... I will try ,but the problem will be to see and
> >print SVG.
>
> You might find Apache Batik useful:-
>
> http://xmlgraphics.apache.org/batik/
>
> This is a Java command line program that can render SVG files to PNG,
> JPEG and TIFF formats. You could generate SVG from Lua and then use
> Batik to convert it to a bitmap format for onscreen display and
> printing.
Haha, a Java «program»... If you really want to seriously render SVG
and you care about making it in a *reasonable* amount of time better use
«rsvg», included with «librsvg» (http://librsvg.sourceforge.net/). It
runs one or two orders of magnitude faster than Batik.
Cheers,
--
"Beware of bugs in the above code; I have only proved
it correct, not tried it." -- Donald Knuth
Attachment:
signature.asc
Description: PGP signature