Open cheetah747 opened 3 years ago
This is my code:
private void startActionCrop(Uri input, Uri output) { Intent intentCamera = new Intent("com.android.camera.action.CROP"); intentCamera.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION); output = createRImgUri(true); intentCamera.putExtra("crop", "true"); intentCamera.putExtra("return-data", false); intentCamera.setDataAndType(input, "image/*"); intentCamera.putExtra("aspectX", 1); intentCamera.putExtra("aspectY", 1); intentCamera.putExtra("outputX", 200);//don't work intentCamera.putExtra("outputY", 200);//don't work intentCamera.putExtra(MediaStore.EXTRA_OUTPUT, output); ((Activity)context).startActivityForResult(intentCamera, REQUEST_IMAGE_AFTER_CROP); }
what gallery app version are you using?
what gallery app version are you using?
Simple-Gallery Pro 6.20.3 crDroid 7.7 - com.android.gallery3d 1.1.40030
I use my app to take a photo by camera ,and then jump to Simple-Gallery to crop it. I have set "outputX" and "outputY" to 200, the original image width is 3000, after croping, the result image's width is also 3000 not 200.
Then I have tried the operation by the gallery app which in the crDroid system,all things work well, the image's width after croping is 200.
So I think this is Simple-Gallery's issue.