Converting an ai to jpg?

MagickWand for PHP is an object-oriented PHP interface to ImageMagick. Use this forum to discuss, make suggestions about, or report bugs concerning MagickWand for PHP.
Post Reply
Jip

Converting an ai to jpg?

Post by Jip »

My phpInfo() page:

MagickWand Extension Version: 0.1.8
ImageMagick version: ImageMagick 6.2.9 09/27/06 Q16

The MagickWand supported image formats does NOT list the .ai format as a supported image format. Is there someway around this (php class?) so I can use MagickSetImageFormat() and convert an .ai file to an .eps, .png, or .jpg?

And BTW, how do I change the ImageMagick QuantumRange (MaxRGB)? Any feedback will be greatly appreciated.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Converting an ai to jpg?

Post by magick »

You change the QuantumRange at build time. Under Unix/Linux add the -quantum-depth option to the configure command line. ImageMagick supports 8, 16, and 32-bit depths. Add --enable-hdri to add support for pixel values that exceed the quantum depth range.
Post Reply