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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML><HEAD><TITLE>Pamfile User Manual</TITLE></HEAD>
<BODY>
<H1>pamfile</H1>
Updated: 11 July 2006;
<BR>
<A HREF="#index">Table Of Contents</A>
<H2>NAME</H2>
pamfile - describe a Netpbm (PAM or PNM) file
<H2 id="synopsis">SYNOPSIS</H2>
<B>pamfile</B>
[<B>-allimages</B>]
[<B>-count</B>]
[<B>-comments</B>]
[<I>file</i> ...]
<H2 id="description">DESCRIPTION</H2>
<p>This program is part of <a href="index.html">Netpbm</a>.
<p><B>pamfile</b> reads one or more Netpbm files as input and writes
out short descriptions of the image type, size, etc. This is partly
for use in shell scripts, so the format is not particularly pretty.
<P>Minimum unique abbreviations of options are 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.
<p>By default, <b>pamfile</b> reads only the header of the input file.
If that file is a pipe, that might cause problems for the process that is
feeding the pipe. In that case, see the <b>-allimages</b> option.
<H2 id="options">OPTIONS</H2>
<DL COMPACT>
<DT><B>-allimages</B>
<DD>This option causes <b>pamfile</b> to describe every image in each
input file. Without this option, <B>pamfile</B> describes only the
first image in each input file.
<p>This option also causes <b>pamfile</b> to read all the images from
the input stream, whereas without it, <b>pamfile</b> reads only the header
of the first one. If the input stream is from a pipe, the process that is
feeding the pipe might require the entire stream to be consumed. In
that case, use this option even if the stream contains only one image.
<p>This option has no effect if you also specify <b>-count</b>.
<p>Note that before July 2000, a file could not contain more than one
image and many programs ignore all but the first.
<p>This option was new in Netpbm 9.5 (July 2000).
<dt><b>-comments</b>
<dd>This option causes <b>pamfile</b> to include for each PAM image
a report of the comments from the header of the image.
<p>For a PBM, PGM, or PPM image, <b>pamfile</b> reports there are no
comments, even if there are.
<p>This option was new in Netpbm 10.35 (August 2006).
<dt><b>-count</b>
<dd>This option causes <b>pamfile</b> to display only a count of how many
images are in each input file.
<p>As with <b>-allimages</b>, this causes <b>pamfile</b> to read all the
images.
<p>This option was new with Netpbm 10.31 (December 2005).
</DL>
<H2 id="seealso">SEE ALSO</H2>
<B><A HREF="pam.html">pam</A></B>,
<B><A HREF="ppmhist.html">ppmhist</A></B>,
<B>file</B>
<H2 id="author">AUTHOR</H2>
Copyright (C) 1991 by Jef Poskanzer.
<HR>
<A NAME="index"> </A>
<H2>Table Of Contents</H2>
<UL>
<LI><A HREF="#synopsis">SYNOPSIS</A>
<LI><A HREF="#description">DESCRIPTION</A>
<LI><A HREF="#options">OPTIONS</A>
<LI><A HREF="#seealso">SEE ALSO</A>
<LI><A HREF="#author">AUTHOR</A>
</UL>
</BODY>
</HTML>
|