"matthias l. jugel" <le-@...> wrote:
original article:http://www.egroups.com/group/vmu-dev/?start=35
> while comparing the results of my icon extraction with the icons on
> booyaka i found that the colors are somewhat different (for Hydro
> Thunder). any hints how i could convert the 16 colors into their
> corresponding values in a 256 color cube?
actually, replying to my articles is not usually my style ...
okay, the color decoding is right now. it's very simple. the colors
are in 12 bits RGB, and all i had to do was doubling each of the 4
bits for R, G and B.
a color code of f339 (fully opaque, somewhat blue) results in
33 33 99 and i do not care about the alpha channel yet. i don't know
how to code that channel into ppm pictures.
marcus: i hope you understand that the tetris icon in the
virtuamunstaz
demo is there due to our ignorance. take it as homage :-)
leo.