NYCPHP Meetup

NYPHP.org

[nycphp-talk] Dynamically output jpeg or eps

Dan Cech dcech at phpwerx.net
Mon Oct 18 15:53:28 EDT 2004


corey szopinski wrote:
> Does anyone know of a way to dynamically output jpeg and eps format graphics
> server side with php? It looks like GD only does png, gif, and jpeg.

netpbm (http://netpbm.sourceforge.net/) and ImageMagick 
(http://www.imagemagick.org/) can both output various flavors of EPS.

They are both command line utilities, though I know of a PECL extension 
for ImageMagick (http://pecl.php.net/package/imagick) and another 
extension called MagickWand (http://www.magickwand.org/www/apis.html).

Dan

> For example, http://snowflakes.lookandfeel.com/ lets you design a snowflake,
> save it, and then download it as a jpeg or eps file. Basically, their front
> end puts together a coods array that is fed into a  page that uses something
> to do the drawing and outputting.
> 
> What package is capable of that?



More information about the talk mailing list