Mercurial > hg > dmlib
comparison tools/gfxconv.c @ 1330:62ef5cc2b475
Clarify help.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 22 Aug 2017 13:28:37 +0300 |
parents | a8850642d0d2 |
children | 1f8687c61891 |
comparison
equal
deleted
inserted
replaced
1329:a8850642d0d2 | 1330:62ef5cc2b475 |
---|---|
231 "specifying single colors or filename of file containing remap definitions.\n" | 231 "specifying single colors or filename of file containing remap definitions.\n" |
232 "Colors to be remapped can be specified either by their palette index or by\n" | 232 "Colors to be remapped can be specified either by their palette index or by\n" |
233 "their RGB values as a hex triplet (#rrggbb). Example of a remap definition:\n" | 233 "their RGB values as a hex triplet (#rrggbb). Example of a remap definition:\n" |
234 "-R #000000:0,#ffffff:1 would remap black and white to indices 0 and 1.\n" | 234 "-R #000000:0,#ffffff:1 would remap black and white to indices 0 and 1.\n" |
235 "\n" | 235 "\n" |
236 "Remap file is specified as -R @filename, and it is a plan text file with\n" | 236 "Remap file can be specified as \"-R @filename\", and it is a text file with\n" |
237 "one remap definition per line. All empty lines and lines starting with a\n" | 237 "one remap definition per line in same format as above. All empty lines and\n" |
238 "semicolor (;) will be ignored. Whitespace separating items is ignored, too.\n" | 238 "lines starting with a semicolor (;) will be ignored as comments. Any extra\n" |
239 "whitespace separating items will be ignored as well.\n" | |
239 "\n" | 240 "\n" |
240 "Optional +remove can be specified (-R <...>+remove), which will remove all\n" | 241 "Optional +remove can be specified (-R <...>+remove), which will remove all\n" |
241 "unused colors from the palette. This is not usually desirable, for example\n" | 242 "unused colors from the palette. This is not usually desirable, for example\n" |
242 "when converting multiple images to same palette.\n" | 243 "when converting multiple images to same palette.\n" |
243 "\n" | 244 "\n" |