blob: 39377764d29d0a860fbcb08977858ed7d24e3525 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML><HEAD><TITLE>Pgmtopbm User Manual</TITLE></HEAD>
<BODY>
<H1>pgmtopbm</H1>
Updated: 20 June 2004
<BR>
<A HREF="#index">Table Of Contents</A>
<A NAME="lbAB"> </A>
<H2>NAME</H2>
pgmtopbm - convert a PGM image to PBM
<A NAME="lbAC"> </A>
<H2>SYNOPSIS</H2>
<B>pgmtopbm</B>
[<B>-floyd</B> | <B>-fs</B> | <B>-threshold</B>
| <B>-hilbert</B>
| <B>-dither8</B> | <B>-d8</B> | <B>-cluster3</B>
| <B>-c3</B> | <B>-cluster4</B> | <B>-c4</B>
| <B>-cluster8</B> | <B>-c8</B>]
[<B>-value</B> <I>val</I>]
[<B>-clump</B> <I>size</I>]
[<I>pgmfile</I>]
<A NAME="lbAD"> </A>
<H2>DESCRIPTION</H2>
<p>This program is part of <a href="index.html">Netpbm</a>.
<p>This program is obsolete since Netpbm 10.23 (July 2004). Use <a
href="pamditherbw.html"><b>pamditherbw</b></a> to do what this program
used to do.
<p><b>pgmtopbm</b> never was the simple converter it appeared to be.
It was a dithering program. Unfortunately, it didn't do the dithering
properly because it treated the PGM input samples as if they were
directly proportional to light intensity, but they are actually
gamma-adjusted.
<p><b>pamditherbw</b> is backward compatible with <b>pgmtopbm</b>
except that it does the correct gamma adjustments.
</BODY>
</HTML>
|