I want to use convert as part of rendering equations spit out by Latex. I am using class.latexrender.php, So I downloaded all the software I need for this, using fink on mac OS X 10.5. Anyhow it seems as if everything is working up until the point the convert needs to do its thing. The php latex class then issues a command to convert the image like so.
Code: Select all
/sw/bin/convert -density 1.2 -trim -transparent "#FFFFFF" fe8e798694ec45f6e96f33e84f350b5c.ps fe8e798694ec45f6e96f33e84f350b5c.png
Unrecoverable error: rangecheck in .putdeviceprops
Unrecoverable error: rangecheck in .putdeviceprops
convert: Postscript delegate failed `fe8e798694ec45f6e96f33e84f350b5c.ps': No such file or directory.
convert: missing an image filename `fe8e798694ec45f6e96f33e84f350b5c.png'.
I know the file convert is trying to work on is there. From googling around it seems this is a ghostscript error. I know ghostscript is installed, here are the versions of the programs.
convert
Version: ImageMagick 6.4.1 09/29/09 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2008 ImageMagick Studio LLC
ghostscript
GPL Ghostscript 8.61 (2007-11-21)
Copyright (C) 2007 Artifex Software, Inc. All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Both were installed using fink. Btw I set this up on a test server and was able to get it running.
Any help is appreciated.