1Ppmdist User Manual(0)                                  Ppmdist User Manual(0)
2
3
4

NAME

6       ppmdist  - simplistic grayscale assignment for machine generated, color
7       images
8
9

SYNOPSIS

11       ppmdist
12
13       [-intensity|-frequency]
14
15       [ppmfile]
16
17

DESCRIPTION

19       This program is part of Netpbm(1).
20
21       ppmdist reads a PPM image as input and performs a simplistic  grayscale
22       assignment intended for use with grayscale or bitmap printers.
23
24       Often  conversion from ppm to pgm will yield an image with contrast too
25       low for good printer output.  The program  maximizes  contrast  between
26       the gray levels output.
27
28       A ppm input of n colors is read, and a pgm of n gray levels is written.
29       The gray levels take on the values 0..n-1, while maxval takes on n-1.
30
31       The mapping from color to stepped grayscale can be performed  in  order
32       of  input  pixel intensity, or input pixel frequency (number of repeti‐
33       tions).
34
35       This program is helpful only for images with a  very  small  number  of
36       colors.
37
38
39

OPTIONS

41       -frequency
42              Sort  input colors by the number of times a color appears in the
43              input, before mapping to evenly distributed graylevels  of  out‐
44              put.
45
46
47       -intensity
48              Sort  input  colors by their grayscale intensity, before mapping
49              to  evenly  distributed  graylevels  of  output.   This  is  the
50              default.
51
52
53
54

SEE ALSO

56       ppmtopgm(1), ppmhist(1), ppm(1)
57
58

AUTHOR

60       Copyright (C) 1993 by Dan Stromberg.
61

DOCUMENT SOURCE

63       This  manual  page was generated by the Netpbm tool 'makeman' from HTML
64       source.  The master documentation is at
65
66              http://netpbm.sourceforge.net/doc/ppmdist.html
67
68netpbm documentation             22 July 1992           Ppmdist User Manual(0)
Impressum