Began to deal with the example of framing images:

Intent cropIntent = new Intent("com.android.camera.action.CROP"); //indicate image type and Uri cropIntent.setDataAndType(picUri, "image/*"); //set crop properties cropIntent.putExtra("crop", "true"); //indicate aspect of desired crop cropIntent.putExtra("aspectX", 1); cropIntent.putExtra("aspectY", 1); //indicate output X and Y cropIntent.putExtra("outputX", 256); cropIntent.putExtra("outputY", 256); //retrieve data on return cropIntent.putExtra("return-data", true); 

It turns out, we frame the image through the gallery app. So, how to make it possible to manipulate the contrast of the image or any other changes over the image through the gallery application?

    1 answer 1

    No Standard application "gallery" does not know how. Moreover, even the above code will not work on all phones. Because not all phones have an application that can crop images. This is an undocumented functionality, the use of which is not recommended due to the fact that it is not necessarily included in the firmware of different manufacturers.