Copyright (C) 2000-2012 |
Manpages ppmdistSection: User Commands (1)Updated: 22 July 1992 Index Return to Main Contents NAMEppmdist - simplistic grayscale assignment for machine generated, color imagesSYNOPSISppmdist [-intensity|-frequency] [ppmfile]DESCRIPTIONReads a portable pixmap as input, performs a simplistic grayscale assignment intended for use with grayscale or bitmap printers.Often conversion from ppm to pgm will yield an image with contrast too low for good printer output. The program maximizes contrast between the gray levels output. A ppm input of n colors is read, and a pgm of n gray levels is written. The gray levels take on the values 0..n-1, while maxval takes on n-1. The mapping from color to stepped grayscale can be performed in order of input pixel intensity, or input pixel frequency (number of repetitions). OPTIONS
BUGSHelpful only for images with a very small number of colors. Perhaps should have been an option to ppmtopgm(1).SEE ALSOppmtopgm(1), ppmhist(1), ppm(5)AUTHORCopyright (C) 1993 by Dan Stromberg.
IndexThis document was created by man2html, using the manual pages. Time: 07:18:02 GMT, November 05, 2024 |