views:

337

answers:

3

Is it possible to convert AI to PNG using PHP?

A: 

Never heard that this can be done. Most known image processing libraries are ImageMagick and GD, but I really doubt any can raster a proprietary format as AI.

Elzo Valugi
A: 

I'm almost sure that GhostView can convert from AI to PNG with the command line interface of ghostview.

The AI-format is just a more organized and stricter version of PostScript, e.g. loop-constructs and other high-level control-flow constructs of the PostScript language are not used.

Nils Pipenbrinck
+1  A: 

ImageMagick supports conversing from AI to JPG

Josh
Not according to the list http://www.imagemagick.org/script/formats.php ; however it may support AI files saved in PDF compatible formats from versions 10 and up. But then only with Ghostscript.
dlamblin
Hm, I thought I read that it did, it treated them as vector files. Maybe people were talking about PDF compatible Ai files from Illustrator CS as you said...
Josh