G
Guest
Hello all,
I need to do an application that takes a Bitmap object and convert it to one
of the color tables below:
1. 16 colors.
2. 256 colors.
3. 24bpp.
I read about lockbits and unsafe code, but how can I change the actual value
of the pixels according to the pallets? how do I set their values? there is a
formula for red, blue and green?
I just need the theory/idea. then I will convert it myself.
thx.
I need to do an application that takes a Bitmap object and convert it to one
of the color tables below:
1. 16 colors.
2. 256 colors.
3. 24bpp.
I read about lockbits and unsafe code, but how can I change the actual value
of the pixels according to the pallets? how do I set their values? there is a
formula for red, blue and green?
I just need the theory/idea. then I will convert it myself.
thx.