summaryrefslogtreecommitdiffstats
path: root/upstream/debian-bookworm/man1/rawtoppm.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/debian-bookworm/man1/rawtoppm.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/debian-bookworm/man1/rawtoppm.1')
-rw-r--r--upstream/debian-bookworm/man1/rawtoppm.1111
1 files changed, 111 insertions, 0 deletions
diff --git a/upstream/debian-bookworm/man1/rawtoppm.1 b/upstream/debian-bookworm/man1/rawtoppm.1
new file mode 100644
index 00000000..fe1f77c9
--- /dev/null
+++ b/upstream/debian-bookworm/man1/rawtoppm.1
@@ -0,0 +1,111 @@
+\
+.\" 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 "Rawtoppm User Manual" 1 "06 February 1991" "netpbm documentation"
+
+.SH NAME
+
+rawtoppm - convert a stream of raw RGB bytes to a PPM image
+
+.UN synopsis
+.SH SYNOPSIS
+
+\fBrawtoppm\fP
+
+[\fB-headerskip\fP \fIN\fP]
+
+[\fB-rowskip\fP \fIN\fP]
+
+[
+\fB-rgb\fP|\fB-rbg\fP|\fB-grb\fP
+|\fB-gbr\fP|\fB-brg\fP|\fB-bgr\fP
+]
+
+[\fB-interpixel\fP|\fB-interrow\fP] \fIwidth\fP \fIheight\fP
+
+[\fIimagedata\fP]
+
+.UN description
+.SH DESCRIPTION
+.PP
+This program is part of
+.BR "Netpbm" (1)\c
+\&.
+.PP
+\fBrawtoppm\fP reads raw RGB bytes as input and produces a PPM
+image as output. The input file is just RGB bytes. You have to
+specify the width and height on the command line, since the program
+obviously can't get them from the file. \fBrawtoppm\fP assumes the
+maxval of the input samples is 255, and makes the maxval of the output
+PPM 255.
+.PP
+\fBrawtoppm\fP assumes the pixels come top first in the input stream.
+If they are actually bottom first, the resulting PPM is upside down, so
+run it through \fBpamflip -tb\fP.
+
+.UN options
+.SH OPTIONS
+.PP
+In addition to the options common to all programs based on libnetpbm
+(most notably \fB-quiet\fP, see
+.UR index.html#commonoptions
+ Common Options
+.UE
+\&), \fBrawtoppm\fP recognizes the following
+command line options:
+
+
+.TP
+\fB-headerskip\fP
+Skip over this many bytes at the beginning of the input stream.
+Use this option when the input has some kind of header followed by
+a raster suitable for \fBrawtoppm\fP.
+
+.TP
+\fB-rowskip\fP
+Skip this many bytes at the end of each row of the raster. (Some
+input streams have padding at the end of rows).
+
+.TP
+\fB-rgb -rbg -grb -gbr -brg -bgr\fP
+This option specifies the order of the color components for each
+pixel. The default is \fB-rgb\fP.
+
+.TP
+\fB-interpixel -interrow\fP
+These options specify how the colors are interleaved. The default
+is \fB-interpixel\fP, meaning interleaved by pixel. A byte of red, a
+byte of green, and a byte of blue, or whatever color order you
+specified. \fB-interrow\fP means interleaved by row - a row of red,
+a row of green, a row of blue, assuming standard rgb color order. An
+\fB-interplane\fP option - all the red pixels, then all the green,
+then all the blue - would be an obvious extension, but is not
+implemented. You could get the same effect by splitting the file into
+three parts (perhaps using \fBdd\fP), turning each part into a PGM
+file with \fBrawtopgm\fP, and then combining them with \fBrgb3toppm\fP.
+
+
+
+.UN seealso
+.SH SEE ALSO
+.BR "ppm" (1)\c
+\&,
+.BR "rawtopgm" (1)\c
+\&,
+.BR "rgb3toppm" (1)\c
+\&,
+.BR "pamflip" (1)\c
+\&
+
+.UN author
+.SH AUTHOR
+
+Copyright (C) 1991 by Jef Poskanzer.
+.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/rawtoppm.html
+.PP \ No newline at end of file