jpg to eps conversion

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
coulon

jpg to eps conversion

Post 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?
coulon

Re: jpg to eps conversion

Post 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!
Drarakel
Posts: 547
Joined: 2010-04-07T12:36:59-07:00
Authentication code: 8675308

Re: jpg to eps conversion

Post by Drarakel »

Is it better if you use "convert chunk.jpg -strip chunk.eps"?
coulon

Re: jpg to eps conversion

Post by coulon »

Drarakel wrote:Is it better if you use "convert chunk.jpg -strip chunk.eps"?
Yes it is! Thanks.
Drarakel
Posts: 547
Joined: 2010-04-07T12:36:59-07:00
Authentication code: 8675308

Re: jpg to eps conversion

Post by Drarakel »

Perhaps it was the XMP profile again: :)
viewtopic.php?f=1&t=14715
Post Reply