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

84 lines
2.0 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of pnmsplit</TITLE>
</HEAD><BODY>
<H1>pnmsplit</H1>
Section: User Commands (1)<BR>Updated: 19 June 2000<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>
pnmsplit - split a multi-image portable anymap into multiple single-image files
<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>
<B>pnmsplit</B>
[<I>pnmfile</I>[<I> output_file_pattern</I>]]
<P>
<A NAME="lbAD">&nbsp;</A>
<H2>DESCRIPTION</H2>
Reads a Netpbm file as input. Copies each image in the input into a
separate file, in the same format.
<P>
<I>pnmfile</I>
is the file specification of the input file, or
<B>-</B>
to indicate Standard Input. The default is Standard Input.
<P>
<I>output_file_pattern</I>
tells how to name the output files. It is the file specification of
the output file, except that the first occurence of &quot;%d&quot; in it is
replaced by the image sequence number in unpadded ASCII decimal, with
the sequence starting at 0. If there is no &quot;%d&quot; in the pattern,
<B>pnmsplit</B>
fails.
<P>
The default output file pattern is &quot;image%d&quot;.
<P>
Note that to do the reverse operation (combining multiple single-image
PNM files into a multi-image one), there is no special Netpbm program.
Just use
<B>cat</B>.
<P>
<A NAME="lbAE">&nbsp;</A>
<H2>SEE ALSO</H2>
<B><A HREF="/cgi-bin/man/man2html?5+pnm">pnm</A></B>(5),
<B><A HREF="/cgi-bin/man/man2html?1+cat">cat</A></B>(1)
<P>
<A NAME="lbAF">&nbsp;</A>
<H2>AUTHOR</H2>
Written by Bryan Henderson
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="1"><A HREF="#lbAB">NAME</A><DD>
<DT id="2"><A HREF="#lbAC">SYNOPSIS</A><DD>
<DT id="3"><A HREF="#lbAD">DESCRIPTION</A><DD>
<DT id="4"><A HREF="#lbAE">SEE ALSO</A><DD>
<DT id="5"><A HREF="#lbAF">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:24 GMT, March 31, 2021
</BODY>
</HTML>