Pb with image generated with LAMMPS

Hi All,

  in my input file I wrote the following line in order to get output images:

    dump 1 all image 100 image_*.jpg type type size 800 800

the generated images can be open with Gimp, but it's impossible to include in a LaTeX document,
pdflatex complains saying:

! LaTeX Error: Cannot determine size of graphic in ./fig/image_5400.jpg (no Bou
ndingBox).

    I got also a similar problem by generating Postscript file, "gv" cannot open
these files:

Hi All,

in my input file I wrote the following line in order to get output images:

   dump 1 all image 100 image_*.jpg type type size 800 800

the generated images can be open with Gimp, but it's impossible to include
in a LaTeX document,
pdflatex complains saying:

! LaTeX Error: Cannot determine size of graphic in ./fig/image_5400.jpg
(no Bou
ndingBox).

   I got also a similar problem by generating Postscript file, "gv" cannot
open
these files:
---------------------------------------------------------------
Error: /undefined in P6
Operand stack:

Execution stack:
   %interp_exit .runexec2 --nostringval-- --nostringval--
--nostringval-- 2 %stoppGPL Ghostscript 9.06: Unrecoverable error, exit
code 1
ed_push --nostringval-- --nostringval-- --nostringval-- false 1
%stopped_push 1910 1 3 %oparray_pop 1909 1 3 %oparray_pop
1893 1 3 %oparray_pop 1787 1 3 %oparray_pop --nostringval--
%errorexec_pop .runexec2 --nostringval-- --nostringval--
--nostringval-- 2 %stopped_push --nostringval--
Dictionary stack:
   --dict:1169/1684(ro)(G)-- --dict:0/20(G)-- --dict:77/200(L)--
Current allocation mode is local
Current file position is 3
---------------------------------------------------------------

Does anybody already find a solution to this kind of problem?

​try a google search. i don't think this is a problem with jpeg support in
LAMMPS, but that you are using both latex and ghostview incorrectly.

axel.