Page 1 of 1

jpg to eps conversion

Posted: 2010-07-04T05:33:02-07:00
by coulon
The image chunk.jpg opens correctly with Firefox, IrfanView and the Windows image viewer. convert chunk.jpg chunk.eps doesn't cause any error message. But afterwards:

1: GSview says this when I try open chunk.eps:
Unrecoverable error: syntaxerror in %ztokenexec_continue
Operand stack:
--nostringval--

--- Begin offending input ---

--- End offending input ---
file offset = 29892
gsdll_execute_cont returns -18

2: ps2pdf - of the MiKTeX distribution - says this when I type: ps2pdf chunk.eps chunl.pdf

Error: /syntaxerror in --%ztokenexec_continue--
Operand stack:

Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1889 1 3 %oparray_pop 1888 1 3 %oparray_pop --nostringval-- 1872 1 3 %oparray_pop 1755 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval--
Dictionary stack:
--dict:1147/1684(ro)(G)-- --dict:0/20(G)-- --dict:74/200(L)--
Current allocation mode is local
Current file position is 29885

So what is wrong with chung.jpg?

Re: jpg to eps conversion

Posted: 2010-07-04T05:59:31-07:00
by coulon
and convert chunk.eps newchun.jpg says this:
unknown device: pngalpha [snip] gsdll_init returns -100

and my computer asks for permission to close Imagemagick!

Re: jpg to eps conversion

Posted: 2010-07-04T06:13:32-07:00
by Drarakel
Is it better if you use "convert chunk.jpg -strip chunk.eps"?

Re: jpg to eps conversion

Posted: 2010-07-04T06:55:32-07:00
by coulon
Drarakel wrote:Is it better if you use "convert chunk.jpg -strip chunk.eps"?
Yes it is! Thanks.

Re: jpg to eps conversion

Posted: 2010-07-04T07:42:52-07:00
by Drarakel
Perhaps it was the XMP profile again: :)
viewtopic.php?f=1&t=14715