Plan 9 from Bell Labs’s /usr/web/sources/contrib/pac/sys/doc/netpbm/ms/pampick.ms

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


.TL
Pampick User Manual
.SH 1
pampick
.LP
Updated: 25 October 2005
.br
Table Of Contents
.SH 2
NAME
.LP
pampick - pick images out of a multi-image Netpbm image stream
.SH 2
SYNOPSIS
.LP
\fBpampick\fR
\fIimage_sequence_number\fR ...
.LP
Minimum unique abbreviation of option is acceptable.  You may use double
hyphens instead of single hyphen to denote options.  You may use white
space in place of the equals sign to separate an option name from its value.
.SH 2
DESCRIPTION
.LP
.LP
This program is part of Netpbm.
.LP
\fBpampick\fR reads a PNM or PAM image stream as input.  It
picks certain images from the stream and copies them to a new image
stream on Standard Output.
.LP
You identify the images to pick by sequence number within the stream.
Each \fIimage_sequence_number\fR is a decimal sequence number, with zero
meaning the first image.
.LP
The arguments must be in increasing order, without duplicates.  The
results are undefined if they are not.  (There are a number of
enhancements that might be made in future releases that would make
whatever \fBpampick\fR does today when you break this rule change).
\fBpampick\fR outputs the images in the same order as they appear in
the input.  If you specify no sequence numbers, \fBpampick\fR outputs
nothing.  If you specify a sequence number that is beyond what is in
the input, \fBpampick\fR fails with an error message to that effect.
.LP
\fBpampick\fR always reads the entire input stream.  (This is helpful
when the input stream is a pipe and whatever is feeding the pipe would be
upset if it filled up or broke).
.LP
To see how many images, and what kind, are in a stream, use
\fBpamfile\fR.
.LP
To extract all the images in a stream into separate named files,
use \fBpamsplit\fR.
.SH 2
SEE ALSO
.LP
\fBpamfile\fR,
\fBpamsplit\fR,
\fBpnm\fR,
\fBpam\fR,
\fBcat\fR man page
.SH 2
HISTORY
.LP
.LP
\fBpampick\fR was new in Netpbm 10.31 (December 2005);
.br
\l'5i'
.SH 2
Table Of Contents
.LP
.IP \(bu
NAME
.IP \(bu
SYNOPSIS
.IP \(bu
DESCRIPTION
.IP \(bu
SEE ALSO
.LP

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.