1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
|
<head>
<title>UK TeX FAQ -- question label dvipsgraphics</title>
</head><body>
<h3>Imported graphics in <i>dvips</i></h3>
<p><i>Dvips</i>, as originally conceived, can only import a single
graphics format:
<a href="FAQ-eps.html">encapsulated PostScript</a> (<code>.eps</code> files).
<i>Dvips</i> also deals with the slightly eccentric EPS that is
created by <a href="FAQ-MP.html">MetaPost</a>.
<p>Apart from the fact that a depressing proportion of drawing
applications produce corrupt EPS when asked for such output,
this is pretty satisfactory for vector graphics work.
<p>To include bitmap graphics, you need some means of converting them to
PostScript; in fact many standard image manipulators (such as
<i>ImageMagick</i>'s <i>convert</i>) make a good job of
creating EPS files. (Though <i>Unix</i> users should
beware of <i>xv</i>'s claims: it has a tendency to downsample your
bitmap to your screen resolution.)
<p>Special purpose applications <i>jpeg2ps</i> (which converts
JPEG files using PostScript level 2 functionality) and
<i>bmeps</i> (which converts both JPEG and PNG
files) are also considered "good bets". <i>Bmeps</i> comes with
patches to produce your own version of <i>dvips</i> that can cope
with JPEG and PNG direct, using <i>bmeps</i>'s
conversion library.
<dl>
<dt><tt><i>bmeps</i></tt><dd><a href="ftp://cam.ctan.org/tex-archive/support/bmeps.tar.gz">support/bmeps</a> (<a href="ftp://cam.ctan.org/tex-archive/support/bmeps.zip">zip</a>, <a href="http://www.tex.ac.uk/tex-archive/support/bmeps/">browse</a>)
<dt><tt><i>jpeg2ps</i></tt><dd><a href="ftp://cam.ctan.org/tex-archive/nonfree/support/jpeg2ps.tar.gz">nonfree/support/jpeg2ps</a> (<a href="ftp://cam.ctan.org/tex-archive/nonfree/support/jpeg2ps.zip">zip</a>, <a href="http://www.tex.ac.uk/tex-archive/nonfree/support/jpeg2ps/">browse</a>)
</dl>
<p><p>This question on the Web: <a href="http://www.tex.ac.uk/cgi-bin/texfaq2html?label=dvipsgraphics">http://www.tex.ac.uk/cgi-bin/texfaq2html?label=dvipsgraphics</a>
</body>
|