ppmtops

Section: User Commands (1)
Updated: 01 September 1989
Index Return to Main Contents
 

NAME

ppmtops - convert a portable pixmap into color Encapsulated PostScript  

SYNOPSIS

ppmtops [-scale <x>] [<ppmfile>]  

DESCRIPTION

Reads a portable pixmap as input. Produces Encapsulated PostScript as output, using the colorimage operator. This operator is only defined on color printers and very recent B&W printers. Most of the time you will NOT want to use ppmtops; instead, do a ppmtopgm | pgmtops.

The -scale flag controls the scale of the result. The default scale is 1, which results in one ppm pixel producing a 3x3 square of PostScript pixels. On a 300 dpi printer such as the Apple LaserWriter, this makes the output look about the same size as the input would if it was displayed on a typical 72 dpi screen. To get one ppm pixel per LaserWriter pixel, use "-s 0.333333".

All flags can be abbreviated to their shortest unique prefix.

Note that there is no pstoppm tool - this transformation is one-way, because a pstoppm tool would be a full-fledged PostScript interpreter, which is beyond the scope of this package.  

SEE ALSO

ppm(5), pgmtops(1), psidtopgm(1)  

AUTHOR

Copyright (C) 1989 by Jef Poskanzer.

Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation. This software is provided "as is" without express or implied warranty.


 

Index

NAME
SYNOPSIS
DESCRIPTION
SEE ALSO
AUTHOR

This document was created by man2html, using the manual pages.
Time: 18:24:01 GMT, January 07, 2023