<MediaProjection generates images with transparent...
# stackoverflow
r
MediaProjection generates images with transparent pixels I'm trying to implement screen capture with MediaProjection API using this repo as a reference project. I've tried to run this project on Cuttlefish (Android 13), Samsung A51 (Android 12) and Xiaomi Mi 9 (Android 12), and result is the same — it works, but generates images with transparent pixels on the sides (not sure if it's visible on the screenshots): <a href="

https://i.stack.imgur.com/3LKMbl.png

"...