Bash Cures Cancer
Learn the UNIX/Linux command line

Home     Man Pages     SpamDefeator


				    ppmtopj

   Updated: 13 July 1991
   Table Of Contents

NAME

   ppmtopj - convert a PPM image to an HP PaintJet file

SYNOPSIS

   ppmtopj   [-gamma   val]   [-xpos   val]  [-ypos  val]  [-back
{dark|lite}] [-rle]
   [-center] [-render { none | snap | bw |  dither  |  diffuse	|
monodither |
   monodiffuse | clusterdither | monoclusterdither }] [ppmfile]

DESCRIPTION

   This program is part of Netpbm.

   ppmtopj reads a PPM image as input and converts it into a for-
mat suitable to
   be printed by an HP PaintJet printer.

   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:
    pamseq 3 1 testimg.ppm >8color.pam
    pnmremap -map 8color.pam testimg.pam | ppmtopj

   Or you could use use
    ppmdither -red 2 -green 2 -blue 2



OPTIONS

   -rle
	  Run length encode the image. (This can result in larger
images)
   -back
	  Enhance the foreground by indicating if the  background
is light or
	  dark compated to the foreground.
   -render alg
	  Use an internal rendering algorithm (default dither).
   -gamma int
	  Gamma correct the image using the integer int as a gam-
ma (default 0).
   -center
	  Center the image to an 8.5 by 11 page
   -xpos pos
	  Move by pos pixels in the x direction.
   -ypos pos
	  Move by pos pixels in the y direction.



SEE ALSO

   HP  PaintJet	 XL Color Graphics Printer User's Guide,  pnmtop-
clxl.html,
   pjtoppm.html,  pnmdepth,  pnmremap,	pamseq,	 ppmdither,  pbm-
tolj.html, ppmtolj,
   thinkjettopbm, ppm

AUTHOR

   Copyright (C) 1991 by Christos Zoulas.
     _________________________________________________________________



Table Of Contents

     * NAME
     * SYNOPSIS
     * DESCRIPTION
     * OPTIONS
     * SEE ALSO
     * AUTHOR
















































UNIX/Linux commands referenced on this page:
  1. convert
  2. as
  3. file
  4. pamseq
  5. pnmremap
  6. ppmdither
  7. pnmdepth
  8. thinkjettopbm