如何找到给定的位图图像是android中的模糊图像还是非模糊图像,因此我附上了我的代码,请帮助我。
@Override
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
super.onActivityResult(requestCode, resultCode, data);
Bitmap bitmap;
if (resultCode == Activity.RESULT_OK) {
ImageView imageView = (ImageView) findViewById(R.id.imageView);
if (getPickImageResultUri(data) != null) {
picUri = getPickImageResultUri(data);
ByteArrayOutputStream stream = new ByteArrayOutputStream();
Glide.with(this)
.load(picUri)
.centerCrop()
.into(imageView);
}
}
}