summaryrefslogtreecommitdiffstats
path: root/upstream/opensuse-leap-15-6/man1/pnmtopnm.1
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 19:43:11 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 19:43:11 +0000
commitfc22b3d6507c6745911b9dfcc68f1e665ae13dbc (patch)
treece1e3bce06471410239a6f41282e328770aa404a /upstream/opensuse-leap-15-6/man1/pnmtopnm.1
parentInitial commit. (diff)
downloadmanpages-l10n-fc22b3d6507c6745911b9dfcc68f1e665ae13dbc.tar.xz
manpages-l10n-fc22b3d6507c6745911b9dfcc68f1e665ae13dbc.zip
Adding upstream version 4.22.0.upstream/4.22.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'upstream/opensuse-leap-15-6/man1/pnmtopnm.1')
-rw-r--r--upstream/opensuse-leap-15-6/man1/pnmtopnm.179
1 files changed, 79 insertions, 0 deletions
diff --git a/upstream/opensuse-leap-15-6/man1/pnmtopnm.1 b/upstream/opensuse-leap-15-6/man1/pnmtopnm.1
new file mode 100644
index 00000000..164fcf8a
--- /dev/null
+++ b/upstream/opensuse-leap-15-6/man1/pnmtopnm.1
@@ -0,0 +1,79 @@
+\
+.\" 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 "Pnmtopnm User Manual" 0 "24 March 2005" "netpbm documentation"
+
+.UN lbAB
+.SH NAME
+
+pnmtopnm - copy a PNM image
+.UN lbAC
+.SH SYNOPSIS
+
+\fBpnmtopnm\fP
+
+[\fIpnmfile\fP]
+
+.UN lbAD
+.SH DESCRIPTION
+.PP
+This program is part of
+.BR "Netpbm" (1)\c
+\&.
+.PP
+\fBpnmtopnm\fP simply copies a PNM image to Standard Output. The
+output has the same major PNM format (PBM, PGM, or PPM) and maxval as
+the input. This may seem an unnecessary duplication of \fBcat\fP,
+but it lets you convert between the plain (ASCII) and raw (binary)
+subformats of PNM. Use the \fB-plain\fP Netpbm common option to
+ensure the output is plain PNM, and don't use \fB-plain\fP to ensure
+the output is raw PNM. See
+.UR index.html#commonoptions
+ Common Options
+.UE
+\&.
+.PP
+You don't normally need to convert between the PNM subformats, because
+any program that uses the Netpbm library to read a PNM image will read
+all of them directly. But there are a lot of programs that don't use
+the Netpbm library and understand only the raw format. Plain format
+is nice because it is human readable; people often use it to debug
+programs that process PNM images.
+.PP
+\fBpnmtopnm\fP is really just another name for the program
+\fBpamtopnm\fP. The latter does the job because like any Netpbm
+program that takes PAM input via the Netpbm programming library
+facilities, it also takes PNM input.
+
+.UN history
+.SH HISTORY
+.PP
+\fBpnmtopnm\fP was new in Netpbm 10.23 (July 2004). It obsoleted
+\fBpnmtoplainpnm\fP, which specifically did the conversion to plain
+PNM. There was no program to explicitly convert to raw PNM, but many
+Netpbm programs can be made, with the right options, to be idempotent
+(i.e. to do the same thing as \fBpnmtopnm\fP).
+.PP
+Then David Jones realized that the existing \fBpamtopnm\fP already
+did everything that \fBpnmtopnm\fP did and more, so
+in Netpbm 10.27 (March 2005), \fBpnmtopnm\fP became simply an alternate
+name for \fBpamtopnm\fP.
+
+.UN lbAE
+.SH SEE ALSO
+.BR "ppmtoppm" (1)\c
+\&
+.BR "pgmtopgm" (1)\c
+\&
+.BR "pamtopnm" (1)\c
+\&
+.BR "pnm" (5)\c
+\&
+.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/pnmtopnm.html
+.PP \ No newline at end of file