Are there any libraries (or using GD2 or Image Magick) to load and process EPS or Vector files?

I need to allow user-uploaded logo to be scaled in different sizes for different formats, are there any libraries (included or added) that allow you to handle EPS files or high resolution images for this purpose?

+2


a source to share


1 answer


If you've built PHP with ext / java and can deal with SVG, PEAR XML_svg2image is the interface to the Apache Batik rasterizer. It's a little derelict, although it has been collecting dust since 2002.



Batik itself is a script, so automating the conversion via the command line or an external process shouldn't be too hairy if you don't want / can't recompile PHP or deal with dead code.

0


a source







All Articles