summaryrefslogtreecommitdiff
path: root/Master/texmf-doc/doc/english/FAQ-en/html/FAQ-dvipsgraphics.html
blob: 19140f647be154f2e15306297c08889a41d74c19 (plain)
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
32
33
34
35
36
37
38
39
40
41
<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>&rsquo;s <i>convert</i>) make a good job of
creating EPS files (but be sure to ask for output at PostScript
level 2 or higher).  (<i>Unix</i> users should beware of
<i>xv</i>&rsquo;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),
<i>bmeps</i> (which converts both JPEG and PNG
files) and <i>a2ping</i>/<i>sam2p</i> (which convert a
bewildering array of bitmap formats to EPS or PDF files;
<i>sam2p</i> is one of the engines that <i>a2ping</i> uses)
are also considered &ldquo;good bets&rdquo;.
<p/><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>&rsquo;s conversion library.  <i>Dvips</i>, as
distributed by MiKTeX, comes with those patches built-in, but
assuming that capability destroys portability, and is only
recommendable if you are sure you will never want to share your
document.
<dl>
<dt><tt><i>a2ping</i></tt><dd><a href="ftp://cam.ctan.org/tex-archive/graphics/a2ping.zip">graphics/a2ping</a> (<a href="ftp://cam.ctan.org/tex-archive/graphics/a2ping.tar.gz">gzipped tar</a>, <a href="http://www.tex.ac.uk/tex-archive/graphics/a2ping/">browse</a>)
<dt><tt><i>bmeps</i></tt><dd><a href="ftp://cam.ctan.org/tex-archive/support/bmeps.zip">support/bmeps</a> (<a href="ftp://cam.ctan.org/tex-archive/support/bmeps.tar.gz">gzipped tar</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.zip">nonfree/support/jpeg2ps</a> (<a href="ftp://cam.ctan.org/tex-archive/nonfree/support/jpeg2ps.tar.gz">gzipped tar</a>, <a href="http://www.tex.ac.uk/tex-archive/nonfree/support/jpeg2ps/">browse</a>)
<dt><tt><i>sam2p</i></tt><dd><a href="ftp://cam.ctan.org/tex-archive/graphics/sam2p.zip">graphics/sam2p</a> (<a href="ftp://cam.ctan.org/tex-archive/graphics/sam2p.tar.gz">gzipped tar</a>, <a href="http://www.tex.ac.uk/tex-archive/graphics/sam2p/">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>