I'm trying to crop Imageview. In all devices image crop by using crop intent is working fine but not working for amazon kindle devices.
我正在尝试裁剪Imageview。在所有设备中,使用裁剪意图的图像裁剪工作正常但不适用于亚马逊点燃设备。
Intent intent = new Intent("com.android.camera.action.CROP");
intent.setType("image/*");
intent.putExtra(MediaStore.EXTRA_OUTPUT, fileUri);
intent.putExtra("scaleType", "centerCrop");
intent.putExtra("crop", "true");
intent.putExtra("outputX", 1200);
intent.putExtra("outputY", 1600);
intent.putExtra("aspectX", 0);
intent.putExtra("aspectY", 0);
intent.putExtra("scale", true);
startActivityForResult(i, CROP_FROM_CAMERA);
is there any way to do that. Because crop inent is not supported by kindle.
有没有办法做到这一点。因为kindle不支持crop inent。
1 个解决方案
#1
0
Try to use some custom library for croping :
尝试使用一些自定义库进行裁剪:
#1
0
Try to use some custom library for croping :
尝试使用一些自定义库进行裁剪: