man-pages/man1/pamdice.1.html
2021-03-31 01:06:50 +01:00

154 lines
3.2 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of pamdice</TITLE>
</HEAD><BODY>
<H1>pamdice</H1>
Section: User Commands (1)<BR>Updated: 31 January 2001<BR><A HREF="#index">Index</A>
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<A NAME="ixAAB"></A>
<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>
pamdice - slice a Netpbm image into many horizontally and/or vertically
<P>
<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>
<B>pamslice</B>
<B>-outstem=</B><I>filenamestem</I>
[<B>-width=</B><I>width</I>]
[<B>-height=</B><I>height</I>]
[<B>-verbose</B>]
[<I>filename</I>]
<P>
You can use the minimum unique abbreviation of the options. You can use
two hyphens instead of one. You can separate an option name from its value
with white space instead of an equals sign.
<P>
<A NAME="lbAD">&nbsp;</A>
<H2>DESCRIPTION</H2>
Reads a PAM, PBM, PGM, or PPM image as input. Splits it horizontally and/or
vertically into equal size pieces and writes them into separate files as
the same kind of image.
<P>
See the
<B>-outstem</B>
option for information on naming of the output files.
<P>
The
<B>-width</B>
and
<B>-height</B>
options determine the size of the output pieces.
<P>
<B>pnmcat</B>
can rejoin the images.
<P>
<A NAME="lbAE">&nbsp;</A>
<H2>OPTIONS</H2>
<DL COMPACT>
<DT id="1"><B>-outstem=</B>filenamestem
<DD>
This option determines the names of the output files. Each output file
is named
<I>filenamestem</I><B>_</B><I>y</I><B>_</B><I>x</I><B>.</B><I>type</I>
where
<I>filenamestem</I>
is the value of the
<B>-outstem</B>
option,
<I>x</I>
and y are the horizontal and vertical locations, respectively, in the
input image of the output image, zero being the leftmost and top, and
<I>type</I>
is
<B>.pbm</B>,
<B>.pgm</B>,
<B>.ppm</B>,
or
<B>.pam</B>,
depending on the type of image.
<P>
<DT id="2"><B>-width=</B><I>width</I>
<DD>
gives the width in pixels of the output images. The rightmost pieces are
smaller than this if the input image is not a multiple of
<I>width </I>
pixels wide.
<P>
<DT id="3"><B>-height=</B><I>height</I>
<DD>
gives the height in pixels of the output images. The bottom pieces are
smaller than this if the input image is not a multiple of
<I>height </I>
pixels high.
<P>
<DT id="4"><B>-verbose</B>
<DD>
Print information about the processing to Standard Error.
<P>
</DL>
<A NAME="lbAF">&nbsp;</A>
<H2>SEE ALSO</H2>
<B><A HREF="/cgi-bin/man/man2html?1+pamcut">pamcut</A></B>(1),
<B><A HREF="/cgi-bin/man/man2html?1+pnmcat">pnmcat</A></B>(1),
<B><A HREF="/cgi-bin/man/man2html?1+pgmslice">pgmslice</A></B>(1),
<B><A HREF="/cgi-bin/man/man2html?5+pnm">pnm</A></B>(5)
<P>
<A NAME="lbAG">&nbsp;</A>
<H2>AUTHOR</H2>
put by Bryan Henderson in the public domain in 2001
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="5"><A HREF="#lbAB">NAME</A><DD>
<DT id="6"><A HREF="#lbAC">SYNOPSIS</A><DD>
<DT id="7"><A HREF="#lbAD">DESCRIPTION</A><DD>
<DT id="8"><A HREF="#lbAE">OPTIONS</A><DD>
<DT id="9"><A HREF="#lbAF">SEE ALSO</A><DD>
<DT id="10"><A HREF="#lbAG">AUTHOR</A><DD>
</DL>
<HR>
This document was created by
<A HREF="/cgi-bin/man/man2html">man2html</A>,
using the manual pages.<BR>
Time: 00:05:21 GMT, March 31, 2021
</BODY>
</HTML>