Convert fails with fill patterns
Posted: 2007-08-13T09:55:38-07:00
Hi,
Actually the bug seems to be with Ghostscript part. I will post it anyway since I'm sure someone here can help me with it.
ImageMagick 6.3.3
Ghostscript 8.57
Mac OS X 10.4.10
- I first create a rectangle under PowerPoint, and fill it with a pattern (such as diagonal strokes)
- I print the file as a postscript file (thanks to Mac OS "Save PDF as Postscript" feature in the Print dialog)
- The file looks ok in any program
- I use convert test.ps test.jpg, and get:
GPL Ghostscript 8.57: Unrecoverable error, exit code 255
GPL Ghostscript 8.57: Unrecoverable error, exit code 255
convert: Postscript delegate failed `test.ps'.
convert: missing an image filename `test.jpg'.
This bug ONLY occurs with fill patterns. I cna find workarounds but I was wondering if someone could reproduce the bug. I'd upload the .ps file if I could.
Thanks.
P.S :
Here what the verbose mode says :
"gs" -q -dBATCH -dSAFER -dMaxBitmap=500000000 -dNOPAUSE -dAlignToPixels=0 -dEPSCrop "-sDEVICE=pnmraw" -dTextAlphaBits=4 -dGraphicsAlphaBits=4 "-g612x792" "-r72x72" "-sOutputFile=/var/tmp/magick-wkGc2zTn" "-f/var/tmp/magick-Zd235k0d" "-f/var/tmp/magick-dClbxFWY"
GPL Ghostscript 8.57: Unrecoverable error, exit code 255
Start of Image
Define Huffman Table 0x00
0 1 5 1 1 1 1 1
1 0 0 0 0 0 0 0
Define Huffman Table 0x01
0 3 1 1 1 1 1 1
1 1 1 0 0 0 0 0
Define Huffman Table 0x10
0 2 1 3 3 2 4 3
5 5 4 4 0 0 1 125
Define Huffman Table 0x11
0 2 1 2 4 4 3 4
7 5 4 4 0 1 2 119
End Of Image
"gs" -q -dBATCH -dSAFER -dMaxBitmap=500000000 -dNOPAUSE -dAlignToPixels=0 -dEPSCrop "-sDEVICE=pnmraw" -dTextAlphaBits=4 -dGraphicsAlphaBits=4 "-g612x792" "-r72x72" "-sOutputFile=/var/tmp/magick-wkGc2zTn" "-f/var/tmp/magick-Zd235k0d" "-f/var/tmp/magick-dClbxFWY" -c showpage
GPL Ghostscript 8.57: Unrecoverable error, exit code 255
Start of Image
Define Huffman Table 0x00
0 1 5 1 1 1 1 1
1 0 0 0 0 0 0 0
Define Huffman Table 0x01
0 3 1 1 1 1 1 1
1 1 1 0 0 0 0 0
Define Huffman Table 0x10
0 2 1 3 3 2 4 3
5 5 4 4 0 0 1 125
Define Huffman Table 0x11
0 2 1 2 4 4 3 4
7 5 4 4 0 1 2 119
End Of Image
convert: Postscript delegate failed `test.ps'.
convert: missing an image filename `test.jpg'.
Actually the bug seems to be with Ghostscript part. I will post it anyway since I'm sure someone here can help me with it.
ImageMagick 6.3.3
Ghostscript 8.57
Mac OS X 10.4.10
- I first create a rectangle under PowerPoint, and fill it with a pattern (such as diagonal strokes)
- I print the file as a postscript file (thanks to Mac OS "Save PDF as Postscript" feature in the Print dialog)
- The file looks ok in any program
- I use convert test.ps test.jpg, and get:
GPL Ghostscript 8.57: Unrecoverable error, exit code 255
GPL Ghostscript 8.57: Unrecoverable error, exit code 255
convert: Postscript delegate failed `test.ps'.
convert: missing an image filename `test.jpg'.
This bug ONLY occurs with fill patterns. I cna find workarounds but I was wondering if someone could reproduce the bug. I'd upload the .ps file if I could.
Thanks.
P.S :
Here what the verbose mode says :
"gs" -q -dBATCH -dSAFER -dMaxBitmap=500000000 -dNOPAUSE -dAlignToPixels=0 -dEPSCrop "-sDEVICE=pnmraw" -dTextAlphaBits=4 -dGraphicsAlphaBits=4 "-g612x792" "-r72x72" "-sOutputFile=/var/tmp/magick-wkGc2zTn" "-f/var/tmp/magick-Zd235k0d" "-f/var/tmp/magick-dClbxFWY"
GPL Ghostscript 8.57: Unrecoverable error, exit code 255
Start of Image
Define Huffman Table 0x00
0 1 5 1 1 1 1 1
1 0 0 0 0 0 0 0
Define Huffman Table 0x01
0 3 1 1 1 1 1 1
1 1 1 0 0 0 0 0
Define Huffman Table 0x10
0 2 1 3 3 2 4 3
5 5 4 4 0 0 1 125
Define Huffman Table 0x11
0 2 1 2 4 4 3 4
7 5 4 4 0 1 2 119
End Of Image
"gs" -q -dBATCH -dSAFER -dMaxBitmap=500000000 -dNOPAUSE -dAlignToPixels=0 -dEPSCrop "-sDEVICE=pnmraw" -dTextAlphaBits=4 -dGraphicsAlphaBits=4 "-g612x792" "-r72x72" "-sOutputFile=/var/tmp/magick-wkGc2zTn" "-f/var/tmp/magick-Zd235k0d" "-f/var/tmp/magick-dClbxFWY" -c showpage
GPL Ghostscript 8.57: Unrecoverable error, exit code 255
Start of Image
Define Huffman Table 0x00
0 1 5 1 1 1 1 1
1 0 0 0 0 0 0 0
Define Huffman Table 0x01
0 3 1 1 1 1 1 1
1 1 1 0 0 0 0 0
Define Huffman Table 0x10
0 2 1 3 3 2 4 3
5 5 4 4 0 0 1 125
Define Huffman Table 0x11
0 2 1 2 4 4 3 4
7 5 4 4 0 1 2 119
End Of Image
convert: Postscript delegate failed `test.ps'.
convert: missing an image filename `test.jpg'.