开发者

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

开发者 https://www.devze.com 2023-02-17 20:00 出处:网络
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#
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

精彩评论

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