Annotated edit history of
pbmreduce(1) version 1, including all changes.
View license author blame.
Rev |
Author |
# |
Line |
1 |
perry |
1 |
pbmreduce |
|
|
2 |
!!!pbmreduce |
|
|
3 |
NAME |
|
|
4 |
SYNOPSIS |
|
|
5 |
DESCRIPTION |
|
|
6 |
OPTIONS |
|
|
7 |
SEE ALSO |
|
|
8 |
AUTHOR |
|
|
9 |
---- |
|
|
10 |
!!NAME |
|
|
11 |
|
|
|
12 |
|
|
|
13 |
pbmreduce - read a portable bitmap and reduce it N times |
|
|
14 |
!!SYNOPSIS |
|
|
15 |
|
|
|
16 |
|
|
|
17 |
__pbmreduce__ [[__-floyd__|__-fs__|__-threshold__ |
|
|
18 |
] [[__-value__ ''val''] ''N'' |
|
|
19 |
[[''pbmfile''] |
|
|
20 |
!!DESCRIPTION |
|
|
21 |
|
|
|
22 |
|
|
|
23 |
Reads a portable bitmap as input. Reduces it by a factor of |
|
|
24 |
''N'', and produces a portable bitmap as |
|
|
25 |
output. |
|
|
26 |
|
|
|
27 |
|
|
|
28 |
''pbmreduce'' duplicates a lot of the functionality of |
|
|
29 |
''pgmtopbm;'' you could do something like __pnmscale | |
|
|
30 |
pgmtopbm,__ but ''pbmreduce'' is a lot |
|
|
31 |
faster. |
|
|
32 |
|
|
|
33 |
|
|
|
34 |
''pbmreduce'' can be used to |
|
|
35 |
''pbmreduce''. You can even |
|
|
36 |
correct the brightness of an image, by using the |
|
|
37 |
__-value__ flag. |
|
|
38 |
!!OPTIONS |
|
|
39 |
|
|
|
40 |
|
|
|
41 |
By default, the halftoning after the reduction is done via |
|
|
42 |
boustrophedonic Floyd-Steinberg error diffusion; however, |
|
|
43 |
the __-threshold__ flag can be used to specify simple |
|
|
44 |
thresholding. This gives better results when reducing line |
|
|
45 |
drawings. |
|
|
46 |
|
|
|
47 |
|
|
|
48 |
The __-value__ flag alters the thresholding value for all |
|
|
49 |
quantizations. It should be a real number between 0 and 1. |
|
|
50 |
Above 0.5 means darker images; below 0.5 means |
|
|
51 |
lighter. |
|
|
52 |
|
|
|
53 |
|
|
|
54 |
All flags can be abbreviated to their shortest unique |
|
|
55 |
prefix. |
|
|
56 |
!!SEE ALSO |
|
|
57 |
|
|
|
58 |
|
|
|
59 |
pnmenlarge(1), pnmscale(1), pgmtopbm(1), pbm(5) |
|
|
60 |
!!AUTHOR |
|
|
61 |
|
|
|
62 |
|
|
|
63 |
Copyright (C) 1988 by Jef Poskanzer. |
|
|
64 |
---- |
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.