0
当我节省SD卡则图像质量损失图像质量损失
这里的图像是我同
Bitmap bitmap2 = extras.getParcelable("data");
File file = new File(path);
FileOutputStream fOut = new FileOutputStream(file);
bitmap2.compress(Bitmap.CompressFormat.JPEG, 100, fOut);
fOut.flush();
fOut.close();
什么是bitmap2? –
它使用Android默认作物 com.android.camera.action.CROP –
for croup只是使用foloowing lib它很容易https://github.com/biokys/cropimage –