# HG changeset patch # User Matti Hamalainen # Date 1400260058 -10800 # Node ID a6452b575c63de22a77c92568ebd31f21c1cdd26 # Parent e574764ae065de0d76f7da896ca835a1153bc970 Add some online documentation. diff -r e574764ae065 -r a6452b575c63 tools/gfxconv.c --- a/tools/gfxconv.c Fri May 16 20:07:00 2014 +0300 +++ b/tools/gfxconv.c Fri May 16 20:07:38 2014 +0300 @@ -208,7 +208,20 @@ dmArgsPrintHelp(stdout, optList, optListN); printf( + "Palette / color remapping (-R)\n" + "------------------------------\n" + "Indexed palette/color remapping can be performed via the -R option, either\n" + "specifying single colors or filename of file containing remap definitions.\n" + "Colors to be remapped can be specified either by their palette index or by\n" + "their RGB values as a hex triplet (#rrggbb). Example of a remap definition:\n" + "-R #000000:0,#ffffff:1 would remap black and white to indices 0 and 1.\n" "\n" + "Remap file is specified as -R @filename, and it is a plan text file with\n" + "one remap definition per line. All empty lines and lines starting with a\n" + "semicolor (;) will be ignored. Whitespace separating items is ignored, too.\n" + "\n" + "Color map defs\n" + "--------------\n" "Color map definitions are used for ANSI and image output, to declare what\n" "output colors of the C64 palette are used for each single color/multi color\n" "bit-combination. For example, if the input is multi color sprite or char,\n"