Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
重複の可能性: C# で 32 ビットのビットマップ画像を 16 ビットの色品質に変換する方法
問題があります。
c# を使用して 32 ビット RGB イメージを 16 ビット RGB に変換する必要があります。
誰かが私に出発点を提案できますか?
ありがとう
R、G、B の各値を 2 ^ 16 または 65536 で割り、16 ビット右にシフトします (これはパフォーマンスのヒントになる可能性があります)。その後、結果を再結合します。