[Tugindia] jpg to eps: Error

H.S.Rai hsrai at gmx.net
Sun Mar 27 19:57:52 CEST 2011

I have to include jpg images in LaTeX file (using psTricks). Some
files converted to eps by "convert" of Image Magik are OK, while other
are not. If I conver ps file (containing such images) to pdf or try to
convert .eps file to pdf, I got error, which is reproduced below

What can be error?

Or Is there any tool other than "convert" which can convert jpg to eps?

Can there be problem with jpg images? If yes how I can identify?


bhavneet at dummy:~/public_html/Rai$ ps2pdf rai1.ps
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   1878
1   3   %oparray_pop   1877   1   3   %oparray_pop   1861   1   3
%oparray_pop   1755   1   3   %oparray_pop   --nostringval--
%errorexec_pop   .runexec2   --nostringval--   --nostringval--
--nostringval--   2   %stopped_push   --nostringval--
Dictionary stack:
  --dict:1157/1684(ro)(G)--   --dict:0/20(G)--   --dict:77/200(L)--
--dict:175/300(L)--   --dict:43/200(L)--
Current allocation mode is local
Last OS error: 2
Current file position is 2251570
GPL Ghostscript 8.71: Unrecoverable error, exit code 1

More information about the tugindia mailing list