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 –