I was the one who posted the problem that ImageMagick did not convert pdf to eps nicely. I tried to modify delegates.xml as you suggested, but it seems to me that the modification does not affect ImageMagick: for instance, I deleted the entry about converting pdf to eps, but the "convert" command did not complain about not finding a delegate.
However, from delegate.xml I find that I don't really need ImageMagick to convert pdf to eps. I just copy the gs command in the delegate entry to a shell script, and it works. Thanks for the hint! Best Regards, Xin Liu On Wed, Dec 30, 2009 at 5:05 PM, Bradley Giesbrecht <b...@pixilla.com> wrote: > I noticed someone writing about imagemagick and remembered something that > took me an hour or so to figure out. > > At the time the MacPorts ImageMagick port did not find /opt/local/gs for > converting pdf's and ai files. I think that's what I was doing. > > I ended up needing to edit > "/opt/local/lib/ImageMagick-6.5.8/config/delegates.xml" and fix the path to > gs (GhostScript). > > This may have been fixed or maybe I was doing something weird. > > I think the conversion worked from the command line but php5's Imagick > didn't find gs which kinda makes sense. I couldn't figure out how to alter > php5/Imagick's environment to have it find gs so I just fixed the paths in > /opt/local/lib/ImageMagick-6.5.8/config/delegates.xml. > > Maybe this will help someone. _______________________________________________ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users