[magick-users] convert ps/pdf works on Intel Macs but not on PPC Macs
vcpatel at emory.edu
vcpatel at emory.edu
Mon May 19 10:23:32 PDT 2008
duc.sequere.aut.de.via.decede at imagemagick.org wrote:
>> For some reason it's looking for
>> locale.xml and english.xml on the PPC
>
> It does that because the PPC version throws an exception. It looks like
> the Postscript delegate is failing on your PPC Mac. Try
> convert -verbose test.pdf test.png
>
> It tells you exactly what ImageMagick is trying to execute. Its
possible that
> 'gs' is not in your execution path or is not installed correctly.
>
Thanks for the pointer. Ghostscript 8.61 Universal was also installed
via MacPorts. Here is the output from convert -debug on Intel and PPC
platforms:
Intel
=====
convert -verbose test.ps test.png
"gs" -q -dQUIET -dPARANOIDSAFER -dBATCH -dNOPAUSE -dNOPROMPT
-dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=0
"-sDEVICE=pngalpha" -dTextAlphaBits=4 -dGraphicsAlphaBits=4 "-r72x72"
-g612x792 "-sOutputFile=/var/tmp/magick-xQbcL1zD"
"-f/var/tmp/magick-3RSeBmKT" "-f/var/tmp/magick-ZyPGTlGy"
/var/tmp/magick-xQbcL1zD PNG 612x792 612x792+0+0 DirectClass 8-bit
7.04883kb 0.020u 0:02
test.ps PS 612x792 612x792+0+0 DirectClass 16-bit 7.04883kb
test.ps=>test.png PS 612x792 612x792+0+0 DirectClass 16-bit 9.41406kb
PPC
===
convert -verbose test.ps test.png
"gs" -q -dQUIET -dPARANOIDSAFER -dBATCH -dNOPAUSE -dNOPROMPT
-dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=0
"-sDEVICE=pngalpha" -dTextAlphaBits=4 -dGraphicsAlphaBits=4 "-r72x72"
-g612x792 "-sOutputFile=/var/tmp/magick-WEdGby1O"
"-f/var/tmp/magick-KTMeQQov" "-f/var/tmp/magick-aOsM4xyD"
"gs" -q -dQUIET -dPARANOIDSAFER -dBATCH -dNOPAUSE -dNOPROMPT
-dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=0
"-sDEVICE=pngalpha" -dTextAlphaBits=4 -dGraphicsAlphaBits=4 "-r72x72"
-g612x792 "-sOutputFile=/var/tmp/magick-WEdGby1O"
"-f/var/tmp/magick-KTMeQQov" "-f/var/tmp/magick-aOsM4xyD" -c showpage
convert: Postscript delegate failed `test.ps': No such file or directory.
convert: missing an image filename `test.png'.
On PPC Macs, gs is invoked twice, with -c showpage option the second
time. I am not sure why it would be invoked twice on PPC but only once
on Intel.
Viren
Emory University
More information about the Magick-users
mailing list