Mercurial > hg > dmlib
comparison tools/gfxconv.c @ 2029:5ecd51009072
Rename '-c' colorindex map short option to '-m'.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 08 Nov 2018 11:42:23 +0200 |
parents | eb6dafdd36dc |
children | 2b961e6b35e5 |
comparison
equal
deleted
inserted
replaced
2026:b137d324e13f | 2029:5ecd51009072 |
---|---|
144 { 4, 's', "skip", "Skip N bytes in input from start (negative value will be offset from input end)", OPT_ARGREQ }, | 144 { 4, 's', "skip", "Skip N bytes in input from start (negative value will be offset from input end)", OPT_ARGREQ }, |
145 { 1, 'i', "informat", "Set input format (spr[:mc|sc], chr[:mc|sc] or any supported image or C64 bitmap format, see --formats)", OPT_ARGREQ }, | 145 { 1, 'i', "informat", "Set input format (spr[:mc|sc], chr[:mc|sc] or any supported image or C64 bitmap format, see --formats)", OPT_ARGREQ }, |
146 { 5, 'f', "format", "Set output format (spr[:mc|sc], chr[:mc|sc] or any supported image or C64 bitmap format, see --formats)", OPT_ARGREQ }, | 146 { 5, 'f', "format", "Set output format (spr[:mc|sc], chr[:mc|sc] or any supported image or C64 bitmap format, see --formats)", OPT_ARGREQ }, |
147 { 17, 'F', "formats", "List supported input/output formats", OPT_NONE }, | 147 { 17, 'F', "formats", "List supported input/output formats", OPT_NONE }, |
148 { 8, 'q', "sequential", "Output sequential files (image output only)", OPT_NONE }, | 148 { 8, 'q', "sequential", "Output sequential files (image output only)", OPT_NONE }, |
149 { 6, 'c', "colormap", "Set color mapping (see below for information)", OPT_ARGREQ }, | 149 { 6, 'm', "colormap", "Set color index mapping (see below for information)", OPT_ARGREQ }, |
150 { 7, 'n', "numitems", "How many 'items' to output (default: all)", OPT_ARGREQ }, | 150 { 7, 'n', "numitems", "How many 'items' to output (default: all)", OPT_ARGREQ }, |
151 { 11, 'w', "width", "Item width (number of items per row, min 1)", OPT_ARGREQ }, | 151 { 11, 'w', "width", "Item width (number of items per row, min 1)", OPT_ARGREQ }, |
152 { 9, 'S', "scale", "Scale output image by <n>, <x>:<y>, <x>:<y>*<n> integer factor(s). " | 152 { 9, 'S', "scale", "Scale output image by <n>, <x>:<y>, <x>:<y>*<n> integer factor(s). " |
153 "-S <n> scales both height and width by <n>. -S <x>:<y>*<n> scales " | 153 "-S <n> scales both height and width by <n>. -S <x>:<y>*<n> scales " |
154 "width by X*n and height Y*n.", OPT_ARGREQ }, | 154 "width by X*n and height Y*n.", OPT_ARGREQ }, |
228 "\n" | 228 "\n" |
229 "Optional +remove can be specified (-R <...>+remove), which will remove all\n" | 229 "Optional +remove can be specified (-R <...>+remove), which will remove all\n" |
230 "unused colors from the palette. This is not usually desirable, for example\n" | 230 "unused colors from the palette. This is not usually desirable, for example\n" |
231 "when converting multiple images to same palette.\n" | 231 "when converting multiple images to same palette.\n" |
232 "\n" | 232 "\n" |
233 "Color mapping (-c)\n" | 233 "Color index mapping (-m)\n" |
234 "------------------\n" | 234 "------------------------\n" |
235 "Color mapping definitions are used for ANSI and image output, to declare what\n" | 235 "Color mapping definitions are used for ANSI and image output, to declare what\n" |
236 "output colors of the C64 palette are used for each single color/multi color\n" | 236 "output colors of the C64 palette are used for each single color/multi color\n" |
237 "bit-combination. For example, if the input is multi color sprite or char,\n" | 237 "bit-combination. For example, if the input is multi color sprite or char,\n" |
238 "you can define colors like: -c 0,8,3,15 .. for single color: -c 0,1\n" | 238 "you can define colors like: -m 0,8,3,15 .. for single color: -m 0,1\n" |
239 "The numbers are palette indexes, and the order is for bit(pair)-values\n" | 239 "The numbers are palette indexes, and the order is for bit(pair)-values\n" |
240 "00, 01, 10, 11 (multi color) and 0, 1 (single color). NOTICE! 255 is the\n" | 240 "00, 01, 10, 11 (multi color) and 0, 1 (single color). NOTICE! 255 is the\n" |
241 "special transparency color index.\n" | 241 "special transparency color index.\n" |
242 "\n" | 242 "\n" |
243 ); | 243 ); |