[LON-CAPA-users] best way to include image?

Guy Albertelli II lon-capa-users@mail.lon-capa.org
Mon, 28 Jun 2004 15:45:07 -0400 (EDT)

Hi Ray,

>     I was wondering if there is a little explanation written somewhere as to 
> what exactly kind of magic happens to an eps file in the printing process 
> when an image is called (as a gif or jpeg file) from an <img    tag.  
> Especially when a "TeXwidth" argument is used.

Nothing much happens.

We do a \includegraphics[width=$TeXWidth mm]{$file}

in the TeX.

Then do a TeX->DVI->PS->PDF morph
I am not sure  if anyof these prcoesses are doing any kind of morphing
on the image but I suspect only the PS->PDF does any kind of change.

BUT if you start with a JPEG/GIF/PNG file the result EPS will be a
raster EPS and will suffer quaulity issues. It would be best if you
saved an EPS file out of the drawing application, you would likely
then get a vector EPS which handles resizing issues much better.

guy@albertelli.com  LON-CAPA Developer  0-7-4-3-