Penguin
Annotated edit history of ppmtomap(1) version 1, including all changes. View license author blame.
Rev Author # Line
1 perry 1 ppmtomap
2 !!!ppmtomap
3 NAME
4 SYNOPSIS
5 DESCRIPTION
6 OPTIONS
7 WARNING
8 SEE ALSO
9 AUTHOR
10 ----
11 !!NAME
12
13
14 ppmtomap - extract all colors from a portable pixmap
15 !!SYNOPSIS
16
17
18 __ppmtomap__ [[__-sort__] [[__-square__]
19 [[''ppmfile'']
20 !!DESCRIPTION
21
22
23 Reads a portable pixmap as input. Produces a portable pixmap
24 as output, representing a color map of the input file. All N
25 different colors found are put in an Nx1 portable pixmap.
26 This color map file can be used as a mapfile for
27 ''ppmquant'' or ''ppmtogif.''
28 !!OPTIONS
29
30
31 __-sort__
32
33
34 Produces a portable pixmap with the colors in some sorted
35 order.
36
37
38 __-square__
39
40
41 Produces a (more or less) square output file, instead of
42 putting all colors on the top row.
43
44
45 All flags can be abbreviated to their shortest unique
46 prefix.
47 !!WARNING
48
49
50 If you want to use the output file as a mapfile for
51 ''ppmtogif,'' you first have to do a ''ppmquant 256,''
52 since ''ppmtomap'' is not limited to 256 colors (but to
53 65536).
54 !!SEE ALSO
55
56
57 ppmtogif(1), ppmquant(1), ppm(5)
58 !!AUTHOR
59
60
61 Marcel Wijkstra (wijkstra@fwi.uva.nl).
62
63
64 Copyright (C) 1989 by Jef Poskanzer.
65 ----
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.