Penguin
Blame: ppmtoilbm(1)
EditPageHistoryDiffInfoLikePages
Annotated edit history of ppmtoilbm(1) version 1, including all changes. View license author blame.
Rev Author # Line
1 perry 1 ppmtoilbm
2 !!!ppmtoilbm
3 NAME
4 SYNOPSIS
5 DESCRIPTION
6 OPTIONS
7 BUGS
8 REFERENCES
9 SEE ALSO
10 AUTHORS
11 ----
12 !!NAME
13
14
15 ppmtoilbm - convert a portable pixmap into an ILBM file
16 !!SYNOPSIS
17
18
19 __ppmtoilbm__ [[__-maxplanes__|__-mp__ ''N'']
20 [[__-fixplanes__|__-fp__ ''N'']
21 [[__-ham6__|__-ham8__]
22 [[__-dcbits__|__-dcplanes__r__g__b__]__
23 [[__-normal__|__-hamif__|__-hamforce__|__-24if__|__-24force__|
24 -dcif__|__-dcforce__|__-cmaponly__]__
25 [[__-ecs__|__-aga__]
26 [[__-compress__|__-nocompress__] [[__-cmethod__
27 ''type''] [[__-map__ppmfile__]__ [[__-savemem__]
28 [[__ppmfile__]
29 !!DESCRIPTION
30
31
32 Reads a portable pixmap as input. Produces an ILBM file as
33 output. Supported ILBM types are:
34
35
36 Normal ILBMs with 1-16 planes.
37
38
39 Amiga HAM with 3-16 planes.
40
41
42 24 bit.
43
44
45 Color map (BMHD + CMAP chunk only, nPlanes =
46 0).
47
48
49 Unofficial direct color.
50
51
52 1-16 planes for each color component.
53
54
55 Chunks written:
56
57
58 BMHD, CMAP, CAMG (only for HAM), BODY (not for colormap
59 files) unofficial DCOL chunk for direct color
60 ILBM
61 !!OPTIONS
62
63
64 Options marked with (*) can be prefixed with a
65
66
67 __-maxplanes | -mp n__
68
69
70 (default 5, minimum 1, maximum 16) Maximum planes to write
71 in a normal ILBM. If the pixmap does not fit into
72
73
74 __-fixplanes | -fp n__
75
76
77 (min 1, max 16) If a normal ILBM is written, it will have
78 exactly
79
80
81 __-hambits | -hamplanes n__
82
83
84 (default 6, min 3, max 16) Select number of planes for HAM
85 picture. The current Amiga hardware supports 6 and 8 planes,
86 so for now you should only use this values.
87
88
89 __-normal (default)__
90
91
92 Turns off -hamif/-24if/-dcif, -hamforce/-24force/-dcforce
93 and -cmaponly. Also sets compression type to
94 byterun1.
95
96
97 __-hamif (*)__
98
99
100 __-24if (*)__
101
102
103 __-dcif (*)__
104
105
106 Write a HAM/24bit/direct color file if the pixmap does not
107 fit into
108
109
110 __-hamforce (*)__
111
112
113 __-24force (*)__
114
115
116 __-dcforce (*)__
117
118
119 Write a HAM/24bit/direct color file.
120
121
122 __-dcbits | -dcplanes r g b__
123
124
125 (default 5, min 1, max 16). Select number of bits for red,
126 green
127
128
129 __-ecs (default)__
130
131
132 Shortcut for: -hamplanes 6 -maxplanes 5
133
134
135 __-aga__
136
137
138 __Shortcut for: -hamplanes 8 -maxplanes 8__
139
140
141 __-ham6__
142
143
144 __Shortcut for: -hamplanes 6 -hamforce__
145
146
147 __-ham8__
148
149
150 Shortcut for: -hamplanes 8 -hamforce
151
152
153 __-compress (*) (default)__
154
155
156 __-cmethod none|byterun1__
157
158
159 Compress the BODY chunk. The default compression method is
160 byterun1. Compression requires building the ILBM image in
161 memory; turning compression off allows stream-writing of the
162 image, but the resulting file will usually be 30% to 50%
163 larger. Another alternative is the -savemem option, this
164 will keep memory requirements for compression at a minimum,
165 but is very slow.
166
167
168 __-map ppmfile__
169
170
171 Write a normal ILBM using the colors in
172
173
174 __-cmaponly__
175
176
177 Write a colormap file: only BMHD and CMAP chunks, no BODY
178 chunk, nPlanes = 0.
179
180
181 __-savemem__
182
183
184 See the -compress option.
185 !!BUGS
186
187
188 HAM pictures will always get a grayscale colormap; a real
189 color selection algorithm might give better results. On the
190 other hand, this allows row-by-row operation on HAM images,
191 and all HAM images of the same depth (no. of planes) share a
192 common colormap, which is useful for building HAM
193 animations.
194 !!REFERENCES
195
196
197 Amiga ROM Kernel Reference Manual - Devices (3rd Ed.)
198 Addison Wesley, ISBN 0-201-56775-X
199 !!SEE ALSO
200
201
202 ppm(5), ilbmtoppm(1)
203 !!AUTHORS
204
205
206 Copyright (C) 1989 by Jef Poskanzer.
207 Modified October 1993 by Ingo Wilken
208 (Ingo.Wilken@informatik.uni-oldenburg.de)
209 ----
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.