There are two general ways to use images in \LaTeX{} documents:
\begin{itemize}
\item	Images are converted to \textsc{eps}, the \LaTeX{} source references
the \textsc{eps} files.\\
Advantage: The bitmap to \textsc{eps} conversion is running only once.
Disadvantage: Disk space is needed for three versions of the image:
original bitmap, the \textsc{eps} file and the
\textsc{eps} code in the final \textsc{ps} document produced by dvips.
\item	The \LaTeX{} source
references the bitmap file, the reference and optionally a
conversion command is included into the \textsc{dvi} file. The conversions
are done ``on the fly'' while dvips is running.\\
Advantage: Less disk space is needed. Better flexibility, if the
conversion program can be controlled via environment variables or
configuration files, the converion options must not be known before
running dvips (i.e. you can decide whether to produce colored or grayscaled
output when running dvips, not before running \LaTeX{}).
\end{itemize}
Bmeps can be used for both ways.

The typical steps to use bmeps are:
\begin{enumerate}
\item	Create a default configuration.\\
If you have a PS2 printer producing grayscaled output you can configure
the default settings using
\begin{lstlisting}
bmeps -c -lps2,c=n
\end{lstlisting}
\item	Create bounding box files for use with \LaTeX{}.\\
To produce bounding box files for all images in the current directory
run
\begin{lstlisting}
bmeps -lbb .
\end{lstlisting}
\item	Edit \LaTeX{}-preambel.\\
Add the following lines to the \LaTeX{}-preambel:
\begin{lstlisting}
\DeclareGraphicsRule{.png}{eps}{.bb}{`bmeps #1}
\DeclareGraphicsRule{.jpg}{eps}{.bb}{`bmeps #1}
\DeclareGraphicsRule{.jpeg}{eps}{.bb}{`bmeps #1}
\end{lstlisting}
\item	Use images in the \LaTeX{} source.\\
Use
\begin{lstlisting}
\includegraphics{input.png}
\end{lstlisting}
to insert the image ``input.png''.
\end{enumerate}
