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.
必要に応じて一部の画像をRGB565に変換するために、画面の色深度を決定しようとしています。
どんな助けでも大歓迎です。
ありがとう
試してみてくださいgetWindowManager().getDefaultDisplay().getPixelFormat()。getPixelFormat()、PixelFormatを参照してください
getWindowManager().getDefaultDisplay().getPixelFormat()