How to 32 bit rgb to 16 bit rgb on programming language C#? [duplicate]
Possible Duplicate:
How to convert bitmap image with 32bit to 16bit color quality in C#
I have problem.
I need to convert a 32bit RGB image to 16bit 开发者_开发问答RGB using c#.
Can anyone suggest a starting point for me?
Thanks
Divide each R, G and B value by 2 ^ 16, or 65536 - shifting them 16 bits to the right (this may be a performance hint) - and then recombine the results.
精彩评论