summaryrefslogtreecommitdiffstats
path: root/upstream/debian-bookworm/man1/pampick.1
blob: b7918353d13dad58c4e54a9310e72f4ef09fe46b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
\
.\" This man page was generated by the Netpbm tool 'makeman' from HTML source.
.\" Do not hand-hack it!  If you have bug fixes or improvements, please find
.\" the corresponding HTML page on the Netpbm website, generate a patch
.\" against that, and send it to the Netpbm maintainer.
.TH "Pampick User Manual" 1 "25 October 2005" "netpbm documentation"

.SH NAME

pampick - pick images out of a multi-image Netpbm image stream

.UN synopsis
.SH SYNOPSIS

\fBpampick\fP

\fIimage_sequence_number\fP ...
.PP
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.


.UN description
.SH DESCRIPTION
.PP
This program is part of
.BR "Netpbm" (1)\c
\&.
.PP
\fBpampick\fP 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.
.PP
You identify the images to pick by sequence number within the stream.
Each \fIimage_sequence_number\fP is a decimal sequence number, with zero
meaning the first image.
.PP
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\fP does today when you break this rule change).
\fBpampick\fP outputs the images in the same order as they appear in
the input.  If you specify no sequence numbers, \fBpampick\fP outputs
nothing.  If you specify a sequence number that is beyond what is in
the input, \fBpampick\fP fails with an error message to that effect.
.PP
\fBpampick\fP 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).
.PP
To see how many images, and what kind, are in a stream, use
\fBpamfile\fP.
.PP
To extract all the images in a stream into separate named files,
use \fBpamsplit\fP.


.UN options
.SH OPTIONS
.PP
There are no command line options defined specifically
for \fBpampick\fP, but it recognizes the options common to all
programs based on libnetpbm (See 
.UR index.html#commonoptions
 Common Options
.UE
\&.)

.UN seealso
.SH SEE ALSO
.BR "pamfile" (1)\c
\&,
.BR "pamsplit" (1)\c
\&,
.BR "pnm" (1)\c
\&,
.BR "pam" (1)\c
\&,
\fBcat\fP man page

.UN history
.SH HISTORY
.PP
\fBpampick\fP was new in Netpbm 10.31 (December 2005);
.SH DOCUMENT SOURCE
This manual page was generated by the Netpbm tool 'makeman' from HTML
source.  The master documentation is at
.IP
.B http://netpbm.sourceforge.net/doc/pampick.html
.PP