de of an image, use
<B>pamcut</B>.

<P>If you want to add different borders after removing the existing
ones, use <B>pnmcat</B> or <B>pamcomp</B>.

<A NAME="lbAE">&nbsp;</A>
<H2>OPTIONS</H2>

<DL COMPACT>
<DT><B>-white</B>

<DD>Take white to be the background color.  <B>pnmcrop</B> removes
borders which are white.

<DT><B>-black</B>

<DD>Take black to be the background color.  <B>pnmcrop </B> removes
borders which are black.

<DT><B>-sides</B>

<DD>Determine the background color from the colors of the four 