Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
Hello. How do I extract RGB colors from a byte ? Thanks
See http://msdn.microsoft.com/en-us/library/windows/desktop/ms536244(v=vs.85).aspx[^].
Veni, vidi, abiit domum
If you have 1 byte representing a color then it is probably just the index of the full RGB color inside the corresponding palette.
1 byte
Veni, vidi, vici.
Just mask the bits[^] out :) (do you still need some help ?)
They sought it with thimbles, they sought it with care; They pursued it with forks and hope; They threatened its life with a railway-share; They charmed it with smiles and soap. :)