Newsgroups: comp.text.tex Date: 1999/01/21
> Does someone know if there is a way to insert > the .gif picture directly into my document ?
If you are using a postscript driver (and that is what I read from your description above), you will eventually need some postscript. But it can be done on the fly if you use dvips in the following way:
\usepackage{graphicx} \DeclareGraphicsRule{.gif}{eps}{.gif.bb}{`convert #1 eps2:-} \includegraphics{pict.gif}
where convert is the Imagemagick program. The .bb file can be made with:
convert pict.gif eps2:- |head > pict.gif.bb
This even works on Windows systems if you have Imagemagick installed. I have fptex 0.2 installed and the relevant call is: c:/apps/tex/ImageMagick/convert #1 eps2:-
Piet van Oostrum
> I would like to insert a .gif picture into a latex2e document.
> The only way I found to do that is to convert the gif > picture into a ps picture using xv, and then inserting > the ps file into the latex doc using the \includegraphics > command. However, the resolution > obtained when printing the document in 600dpi > is very poor (looks like offset printing).
You should remember that the printer has to do half-toning to print your picture. You should make sure your printer is set up for printing pictures. Also remember that a 600 dpi printer can only print at the equivalent of 150dpi when printing colour. You may have more luck using the pbm utilities to convert to postscript. You can adjust it to match the resolution of your printer, and use a more complex dithering method, and avoid the printer's half-toning.
> Does someone know if there is a way to insert >the .gif picture directly into my document ?
Some drivers can. Dvips (I think) can't, but even if it could I doubt it would improve picture quality.
James