:~>I _think_ there's a setting in the KDE Control Panel to set how many
:~>colors KDE grabs for itself.

I have just consulted the friend of mine who works at the KDE project. The
answer was "yes and no". There are "old" (pre 1.2) icons which do not need
to many colors. "html" widget does the rendering. As far as i understood,
according to him, the rest of the KDE does not. If this is true, you would
be better off with "WindowMaker", which can do the rendering ( I think
it does it on 8-bit screens by default). 

It is highly unfortunate that X does not do color rendering by itself -
this would make a life with old X-terminals much more pleasant.  As it is,
there is no life beyond 16 bpp .-)

If absolutely nothing else works, "convert" from "ImageMagick" is capable
of reducing the number of colors in an icon. Take a look at "-map", 
"-colors", "-dither"  and maybe "-colorspace", "-treedepth",   

i hope that something like: 

++++++++++++++++++++++++++++++++++++++++++++++++++++++
        #!/usr/bin/perl

        $command = "convert -verbose -dither +map -colors 5";
        foreach (@ARGV) {
          $files = join (" ", $files, $_); 
          print "add: $_\n";
        }
        system "$command $files reduced/icon.xpm\n";
        foreach (0..$#ARGV) {
          system ("mv reduced/icon.xpm.$_ reduced/$ARGV[$_]");
        }
+++++++++++++++++++++++++++++++++++++++++++++++++++++++
would do the trick for you. 

cu
        Denis

Reply via email to