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

NAME

6       pbmreduce - read a PBM image and reduce it N times
7
8

SYNOPSIS

10       pbmreduce [-floyd|-fs|-threshold] [-value val] N [pbmfile]
11
12       You can abbreviate any option to its shortest unique prefix.
13
14

DESCRIPTION

16       This program is part of Netpbm(1).
17
18       pbmreduce  reads  a PBM image as input and reduces it by a factor of N,
19       producing a PBM image as output.
20
21       pbmreduce duplicates a lot of the  functionality  of  pamditherbw;  you
22       could  do something like pamscale | pamditherbw, but pbmreduce is a lot
23       faster.
24
25       You can use pbmreduce to 're-halftone' an image.  Let's say you have  a
26       scanner  that  only  produces black&white, not grayscale, and it does a
27       terrible job of halftoning (most b&w scanners  fit  this  description).
28       One  way to fix the halftoning is to scan at the highest possible reso‐
29       lution, say 300 dpi, and then reduce by a factor of three or  so  using
30       pbmreduce.   You  can even correct the brightness of an image, by using
31       the -value option.
32
33

OPTIONS

35       By default, pbmreduce does the halftoning after the reduction via bous‐
36       trophedonic  Floyd-Steinberg  error diffusion; however, you can use the
37       -threshold option to specify simple thresholding.   This  gives  better
38       results when reducing line drawings.
39
40       The  -value option alters the thresholding value for all quantizations.
41       It should be a real number between 0 and 1.   Above  0.5  means  darker
42       images; below 0.5 means lighter.
43
44

SEE ALSO

46       pamenlarge(1), pamscale(1), pamditherbw(1), pbm(1)
47
48

AUTHOR

50       Copyright (C) 1988 by Jef Poskanzer.
51
52
53
54netpbm documentation            02 August 1989        Pbmreduce User Manual(0)
Impressum