㈠ Android 中用ThumbnailUtils 获取手机视频文件缩略图出错
旋转90°就好了:
java">Bitmapbitmap=BitmapFactory.decodeFile(mCurrentPhotoPath,bmOptions);
Matrixmtx=newMatrix();
mtx.postRotate(90);
//RotatingBitmap
BitmaprotatedBMP=Bitmap.createBitmap(bitmap,0,0,bitmap.getWidth(),bitmap.getHeight(),mtx,true);