yuvImage.compressToJpeg(newRect(0,0, srcWidth, srcHeight),100, out); byte[] imageBytes = out.toByteArray(); //旋轉(zhuǎn)圖像,順便解決電腦上播放被旋轉(zhuǎn)90度的問題 20-50ms Bitmap image = BitmapFactory.decodeByteArray(imageBytes,0, imageBytes.length); ...
www.dbjr.com.cn/article/938...htm 2025-6-5