man-pages/man1/ppmtopj.1.html
2021-03-31 01:06:50 +01:00

148 lines
3.2 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of ppmtopj</TITLE>
</HEAD><BODY>
<H1>ppmtopj</H1>
Section: User Commands (1)<BR>Updated: 13 July 1991<BR><A HREF="#index">Index</A>
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<A NAME="ixAAB"></A>
<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>
ppmtopj - convert a portable pixmap to an HP PaintJet file
<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>
<B>ppmtopj</B>
[-gamma
<I>val</I>]
[<B>-xpos</B>
<I>val</I>]
[<B>-ypos</B>
<I>val</I>]
[<B>-back</B>
<B>dark</B>|<B>lite</B>]
[<B>-rle</B>]
[<B>-center</B>]
[<B>-render</B>
<B>none|snap|bw|dither|diffuse|monodither|monodiffuse|clusterdither|monoclusterdither</B>]
[<I>ppmfile</I>]
<A NAME="lbAD">&nbsp;</A>
<H2>DESCRIPTION</H2>
Reads a portable pixmap as input and converts it into a format suitable
to be printed by an HP PaintJet printer.
<P>
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 get this by sending the input file through
<I>ppmquant -map</I>
with a map file such as:
<PRE>
P3
8 1
255
0 0 0 255 0 0 0 255 0 0 0 255
255 255 0 255 0 255 0 255 255 255 255 255
</PRE>
Or else you could use use
<I>ppmdither -red 2 -green 2 -blue 2.</I>
<A NAME="lbAE">&nbsp;</A>
<H2>OPTIONS</H2>
<DL COMPACT>
<DT id="1"><B>-rle</B>
<DD>
Run length encode the image.
(This can result in larger images)
<DT id="2"><B>-back</B>
<DD>
Enhance the foreground by indicating if the background is light or
dark compated to the foreground.
<DT id="3"><B>-render</B><I> alg</I>
<DD>
Use an internal rendering algorithm (default dither).
<DT id="4"><B>-gamma</B><I> int</I>
<DD>
Gamma correct the image using the integet parameter as a gamma (default 0).
<DT id="5"><B>-center</B>
<DD>
Center the image to an 8.5 by 11 page
<DT id="6"><B>-xpos</B><I> pos</I>
<DD>
Move by pos pixels in the x direction.
<DT id="7"><B>-ypos</B><I> pos</I>
<DD>
Move by pos pixels in the y direction.
</DL>
<A NAME="lbAF">&nbsp;</A>
<H2>REFERENCES</H2>
HP PaintJet XL Color Graphics Printer User's Guide
<A NAME="lbAG">&nbsp;</A>
<H2>SEE ALSO</H2>
<A HREF="/cgi-bin/man/man2html?1+pnmdepth">pnmdepth</A>(1), <A HREF="/cgi-bin/man/man2html?1+ppmquant">ppmquant</A>(1), <A HREF="/cgi-bin/man/man2html?1+ppmdither">ppmdither</A>(1), <A HREF="/cgi-bin/man/man2html?5+ppm">ppm</A>(5)
<A NAME="lbAH">&nbsp;</A>
<H2>BUGS</H2>
Most of the options have not been tested because of the price of the paper.
<A NAME="lbAI">&nbsp;</A>
<H2>AUTHOR</H2>
Copyright (C) 1991 by Christos Zoulas.
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="8"><A HREF="#lbAB">NAME</A><DD>
<DT id="9"><A HREF="#lbAC">SYNOPSIS</A><DD>
<DT id="10"><A HREF="#lbAD">DESCRIPTION</A><DD>
<DT id="11"><A HREF="#lbAE">OPTIONS</A><DD>
<DT id="12"><A HREF="#lbAF">REFERENCES</A><DD>
<DT id="13"><A HREF="#lbAG">SEE ALSO</A><DD>
<DT id="14"><A HREF="#lbAH">BUGS</A><DD>
<DT id="15"><A HREF="#lbAI">AUTHOR</A><DD>
</DL>
<HR>
This document was created by
<A HREF="/cgi-bin/man/man2html">man2html</A>,
using the manual pages.<BR>
Time: 00:05:25 GMT, March 31, 2021
</BODY>
</HTML>