\section{img2pnm.c File Reference}
\label{img2pnm_8c}\index{img2pnm.c@{img2pnm.c}}
{\tt \#include \char`\"{}sadie.h\char`\"{}}\par
\subsection*{Defines}
\begin{CompactItemize}
\item 
\#define {\bf UCHAR}(c)\ ((unsigned char) (c))
\item 
\#define {\bf MAX\_\-MEMORY}\ 10000
\item 
\#define {\bf PGM}\ 1
\item 
\#define {\bf PPM}\ 2
\end{CompactItemize}
\subsection*{Functions}
\begin{CompactItemize}
\item 
void {\bf IMG2PNM} (in, {\bf name}) {\bf IMAGE} $\ast$in
\end{CompactItemize}
\subsection*{Variables}
\begin{CompactItemize}
\item 
char $\ast$ {\bf name}
\end{CompactItemize}


\subsection{Define Documentation}
\index{img2pnm.c@{img2pnm.c}!MAX_MEMORY@{MAX\_\-MEMORY}}
\index{MAX_MEMORY@{MAX\_\-MEMORY}!img2pnm.c@{img2pnm.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define MAX\_\-MEMORY\ 10000}\label{img2pnm_8c_a1}




Definition at line 10 of file img2pnm.c.\index{img2pnm.c@{img2pnm.c}!PGM@{PGM}}
\index{PGM@{PGM}!img2pnm.c@{img2pnm.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define PGM\ 1}\label{img2pnm_8c_a2}




Definition at line 16 of file img2pnm.c.\index{img2pnm.c@{img2pnm.c}!PPM@{PPM}}
\index{PPM@{PPM}!img2pnm.c@{img2pnm.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define PPM\ 2}\label{img2pnm_8c_a3}




Definition at line 17 of file img2pnm.c.\index{img2pnm.c@{img2pnm.c}!UCHAR@{UCHAR}}
\index{UCHAR@{UCHAR}!img2pnm.c@{img2pnm.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define UCHAR(c)\ ((unsigned char) (c))}\label{img2pnm_8c_a0}




Definition at line 3 of file img2pnm.c.

\subsection{Function Documentation}
\index{img2pnm.c@{img2pnm.c}!IMG2PNM@{IMG2PNM}}
\index{IMG2PNM@{IMG2PNM}!img2pnm.c@{img2pnm.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void IMG2PNM (in, {\bf name})}\label{img2pnm_8c_a5}




Referenced by Sadie\_\-File\-IO\_\-Save\-PNMCmd.

\subsection{Variable Documentation}
\index{img2pnm.c@{img2pnm.c}!name@{name}}
\index{name@{name}!img2pnm.c@{img2pnm.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}char$\ast$ name}\label{img2pnm_8c_a4}




Definition at line 31 of file img2pnm.c.