From: Luiz R. T. <lui...@gm...> - 2008-07-02 20:03:41
|
Ok, Arlindo I'll work on it using "display => gxyat => svg file => php" and once its stable I'll try using "display => php pipe" I'll keep on writing the php code and, as soon as I have the permission, I'll place it in the CVS. Peace -- Luiz Rodrigo Lins Tozzi lui...@gm... http://thedealwith.blogspot.com/ On Wed, Jul 2, 2008 at 4:21 PM, Arlindo da Silva <da...@al...> wrote: > On Wed, Jul 2, 2008 at 10:30 AM, Luiz Rodrigo Tozzi < > lui...@gm...> wrote: > >> >> Great. That will be my next step as soon as the IPC extension were able to >> deal with metafile instructions. I have tons of php scripts that extract >> information from a MySQL db and use GD to plot meteograms and graphs using >> JpGraph (http://www.aditus.nu/jpgraph/). unfortunately this program is >> not entirely free :( >> the development to Cairo is only beginning in PHP but start from here is >> something really interesting. >> > > The gxyat extension can write SVG right now: > > ga-> d ts > ga-> gxyat ts.svg > > SVG is an XML ASCII format for vector graphics; there is some PHP support > for it. Capturing the SVG through the pipe can be done with minimal work. > SVG is complex but the kinds of files written by gxyat are simple. Capturing > the GrADS metafile binary format is also an option. You can prototype this > by writing it to disk with print. Getting it through the pipe would be an > optimization step for increasing performance, nothing more. > > Arlindo > > > > -- > Arlindo da Silva > da...@al... > |