开发者

How to 32 bit rgb to 16 bit rgb on programming language C#? [duplicate]

This question already has an answer here: Closed 11 years ago.

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜