/**
* 一种挺有效的方法,规避或者decodeFile函数,使用
* @param path
* @return
*/
public static Bitmap readBitmapByPath(String path) {
bfOptions=new ();
=false;
=true;
=true;
=new byte[32 * 1024];
File file=new File(path);
FileInputStream fs=null;
try {
fs = new FileInputStream(file);
if(fs!=null)
return ((), null, bfOptions);
} catch (IOException e) {
();
} finally{
if(fs!=null) {
try {
();
} catch (IOException e) {
();
}
}
}
return null;
}