I am writing an intent to allow the user to pull an image from the
gallery:

Intent getImage = new Intent(Intent.ACTION_GET_CONTENT);

getImage.setType("image/*");
getImage.putExtra("outputX", width);
getImage.putExtra("outputY", height);
getImage.putExtra("aspectX", width);
getImage.putExtra("aspectY", height);
getImage.putExtra("noFaceDetection", true);
getImage.putExtra("scale", true);
getImage.putExtra("crop", "true");
getImage.putExtra("setWallpaper", false);

startActivityForResult(Intent.createChooser(getImage, "Select
Background Image"), 0x10);

Everything is working fine and a new image is generated from the
gallery except it looks like the image that comes back cropped is in a
lower quality format from the original image, like 16 bit color format
instead of 32 bit.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to