关于Bitmap相关的一些总结
如何从当前View获取到Bitmap v.setDrawingCacheEnabled(true); v.buildDrawingCache(); Bitmap bitmap = v.getDrawingCache(); 如何从TextureView中获取Bitmap mTextureView.getBitmap(); 如何压缩Bitmap 压缩成适配目标宽、高的Bitmap /** * get a scaled bitmap from a file located in path, adjust to destWidth and destHeight * @param path the bitmap's file location * @param destWidth destination width * @param destHeight destination height * @return a scaled