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

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


.TL
Ppmtopj User Manual
.SH 1
ppmtopj
.LP
Updated: 13 July 1991
.br
Table Of Contents
.SH 2
NAME
.LP
ppmtopj - convert a PPM image to an HP PaintJet file
.SH 2
SYNOPSIS
.LP
\fBppmtopj\fR
[\fB-gamma\fR \fIval\fR]
[\fB-xpos\fR \fIval\fR]
[\fB-ypos\fR \fIval\fR]
[\fB-back\fR {\fBdark\fR|\fBlite\fR}]
[\fB-rle\fR]
[\fB-center\fR]
[\fB-render\fR {
\fBnone\fR |
\fBsnap\fR |
\fBbw\fR |
\fBdither\fR |
\fBdiffuse\fR |
\fBmonodither\fR |
\fBmonodiffuse\fR |
\fBclusterdither\fR |
\fBmonoclusterdither\fR
}]
[\fIppmfile\fR]
.SH 2
DESCRIPTION
.LP
.LP
This program is part of Netpbm.
.LP
\fBppmtopj\fR reads a PPM image as input and converts it into a
format suitable to be printed by an HP PaintJet printer.
.LP
For best results, the input file should be in 8-color RGB form;
i.e. it should have only
the 8 binary combinations of full-on and full-off primaries.
You could convert your input to this format like this:
.DS L
    pamseq 3 1 testimg.ppm >8color.pam
    pnmremap -map 8color.pam testimg.pam | ppmtopj
.DE
Or you could use use
.DS L
    ppmdither -red 2 -green 2 -blue 2
.DE
.SH 2
OPTIONS
.LP
.RS
.IP "\fB-rle\fR"
Run length encode the image.
(This can result in larger images)
.IP "\fB-back\fR"
Enhance the foreground by indicating if the background is light or
dark compated to the foreground.
.IP "\fB-render\fR \fIalg\fR"
Use an internal rendering algorithm (default dither).
.IP "\fB-gamma\fR \fIint\fR"
Gamma correct the image using the integer \fIint\fR as a gamma (default 0).
.IP "\fB-center\fR"
Center the image to an 8.5 by 11 page
.IP "\fB-xpos\fR \fIpos\fR"
Move by \fIpos\fR pixels in the x direction.
.IP "\fB-ypos\fR \fIpos\fR"
Move by \fIpos\fR pixels in the y direction.
.RE
.SH 2
SEE ALSO
.LP
HP PaintJet XL Color Graphics Printer User's Guide,
\fBpnmtopclxl.html\fR,
\fBpjtoppm.html\fR,
\fBpamdepth\fR,
\fBpnmremap\fR,
\fBpamseq\fR,
\fBppmdither\fR,
\fBpbmtolj.html\fR,
\fBppmtolj\fR,
\fBthinkjettopbm\fR,
\fBppm\fR
.SH 2
AUTHOR
.LP
Copyright (C) 1991 by Christos Zoulas.
.br
\l'5i'
.SH 2
Table Of Contents
.LP
.IP \(bu
NAME
.IP \(bu
SYNOPSIS
.IP \(bu
DESCRIPTION
.IP \(bu
OPTIONS
.IP \(bu
SEE ALSO
.IP \(bu
AUTHOR
.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.