mtsahakis / MediaProjectionDemo

One Activity sample app of using Android Lollipop MediaProjection API to capture device screenshots
Other
210 stars 76 forks source link

writting buffer to bitmap #15

Open mhackeras opened 6 years ago

mhackeras commented 6 years ago

when creating display it takes the right resolution 1920x1080 but when writing image.. image gets wrong resolution 1920x1088 This happens only on portrait rotation.. on landscape its good! well i used your patch for removing black from image.. but it seems to be quite slow.. is there any way more efficient to do this ?

quocb14005xx commented 5 years ago

when creating display it takes the right resolution 1920x1080 but when writing image.. image gets wrong resolution 1920x1088 This happens only on portrait rotation.. on landscape its good! well i used your patch for removing black from image.. but it seems to be quite slow.. is there any way more efficient to do this ?

how can i get bit map and add watermark on each frame?