I downloaded this image: http://www.lib.unc.edu/music/eam/viewer ... s=ns1_14p2 and said:
convert -threshold 50% mytest.jpg mytest.ps.
Then when I try to view the ps file with GhostView I obtain this message:
Unrecoverable error: syntaxerror in %ztokenexec_continue
Operand stack:
--nostringval--
--- Begin offending input ---
--- End offending input ---
file offset = 16572
gsdll_execute_cont returns -18
With ps2pf I obtain:
Error: /syntaxerror in --%ztokenexec_continue--
Operand stack:
--nostringval--
Is the source image the culprit, or Imagemagick? I have version:
6.5.4-1 2009-06-26 Q8.
offending PostScript output
Re: offending PostScript output
Looks like a bug. We will have a patch within a day or two. Thanks.
Re: offending PostScript output
I tried the 16-bit version on a Linux machine, and it works fine. Hope this helps.magick wrote:Looks like a bug. We will have a patch within a day or two. Thanks.
Re: offending PostScript output
It appears your image has an XMP profile that Ghostscript does not like. Try this command:
- convert -density 72 mytest.jpg -threshold 50% +profile xmp mytest.ps
Re: offending PostScript output
Works fine. Thanks.magick wrote:It appears your image has an XMP profile that Ghostscript does not like. Try this command:
- convert -density 72 mytest.jpg -threshold 50% +profile xmp mytest.ps