标签: android android-studio bitmap screenshot android-mediaprojection
位图= Bitmap.createBitmap(mWidth + rowPadding / pixelStride,mHeight,Bitmap.Config.ARGB_8888);
bitmap.copyPixelsFromBuffer(buffer);
bitmap.compress(Bitmap.CompressFormat.PNG,100,fos);
答案 0 :(得分:0)
问题出在图像压缩上。
Check out the link below