From: Arlindo da S. <da...@al...> - 2008-07-02 19:21:24
|
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... |