Android 图像到字节数组转换中的模糊图像

Android 图像到字节数组转换中的模糊图像,android,image,camera,blur,Android,Image,Camera,Blur,我想在GridView中显示从相机捕获的多个图像。 问题是我正在将相机捕获的图像转换为字节数组。 转换后的图像变得模糊。 然后在GridViewitem上单击我想显示全尺寸图像 (由于我想显示图像的GridView,在GridView的顶部和底部有一些文本,所以我必须使用ScrollView,为此我使用了自定义GridView,因为存在滚动问题。) 这是我的密码: protected void onActivityResult(int requestCode, int resultCode, I

我想在
GridView
中显示从相机捕获的多个图像。 问题是我正在将相机捕获的图像转换为字节数组。 转换后的图像变得模糊。 然后在
GridView
item上单击我想显示全尺寸图像

(由于我想显示图像的
GridView
,在
GridView
的顶部和底部有一些文本,所以我必须使用
ScrollView
,为此我使用了自定义
GridView
,因为存在滚动问题。)

这是我的密码:

protected void onActivityResult(int requestCode, int resultCode, Intent data) {
    try {
        if (resultCode == RESULT_OK) {
            if (requestCode == ACTION_TAKE_PHOTO_B) {
                Bundle extras = data.getExtras();
                String _path = Environment.getExternalStorageDirectory().getAbsolutePath() + "/MyFolder/";+imgcurTime+"_"+i+".jpg";
                Bitmap thePic = extras.getParcelable("data");
                try {
                    FileOutputStream out = new FileOutputStream(_path);
                    // File.createTempFile(filename, JPEG_FILE_SUFFIX, out);
                    thePic.compress(Bitmap.CompressFormat.JPEG, 90, out);
                    out.close();
                } catch (FileNotFoundException e) {
                    e.getMessage();
                } catch (IOException e) {
                    e.printStackTrace();
                }
                i = i + 1;
            }
        }