in reply to Perl - Adobe Illustrator

Actually, I worked on a project involving heavy use of GD and Image::Magick (and eventually some DBI and XML for good measure) to produce high-quality graphs. /msg me if you want more info.

You also have to be aware that Gd::Graph, as far as I know, can not create beziers curves, which are very easily done using Adobe Illustrator.

<kbd>--
PerlMonger::Paris(http => 'paris.pm.org');</kbd>

Replies are listed 'Best First'.
Re: Perl - Adobe Illustrator
by orthanc (Monk) on Feb 16, 2001 at 17:23 UTC

    Hi

    I hope there hasn't been too much confusion with regard to my question.

    Everyone seems to be pointing in the direction of producing a graph with GD::Graph but that isn't exactly what I'm after.
    What I really need is a method or an example of producing a graph in the 'Illustrator EPS' format which can then be used by Quark

    Hope this helps but thanks for all previous offers
    Orthanc

      It's relatively "trivial" to convert from, e.g. PNG to EPS. I'll assume, since you're using Quark, that the concern is more about output resolution than vector vs. raster; Image::Magick, among others, can convert a high-resolution PNG into EPS very nicely. We've used this for printing to filmsetters with very good results (at 1.4 Kdpi). Just be certain to create the PNG with the proper resolution. (Also, I seem to recall that when using GD to create PNG's, the image density ("dpi resolution") was not set correctly, so we had to add a step in the Image::Magick portion to "force" the image density to the correct value.)

      If you're looking for vector-only EPS output, there are some PostScript::* modules in CPAN, but the first one that caught my eye (PostScript::Elements) seems woefully undocumented. I'm sure that there is one out there, just search around a bit :-)