]> git.draconx.ca Git - rrace.git/commit
Add a funky dithered 16-colour mode to ewmhicon.
authorNick Bowler <nbowler@draconx.ca>
Wed, 30 Nov 2022 01:41:07 +0000 (20:41 -0500)
committerNick Bowler <nbowler@draconx.ca>
Wed, 30 Nov 2022 04:32:50 +0000 (23:32 -0500)
commitd99493cb685f80aa13b3135d461fcde554fe121f
treea1c3353a893a65fbef61ca5cddd210f10cf68fd2
parent3ab770d56719dfac72cf49f9a002a3f6b332593c
Add a funky dithered 16-colour mode to ewmhicon.

This adds a new option, --w32vga, which generates icons targeting the
16-colour "VGA" palette used by Windows.  This is the 8 combinations
of 0/max RGB values, plus the same set with the values halved, plus
a light gray.

This option enables a hand-coded pattern that approximates the desired
colours, and gives much more pleasing results in low colour modes.
t/ewmhicon.c