Questions tagged [android-crop]

How to crop an image interactively (manually) on Android

Questions about using of com.android.camera.action.CROP intent, or alternatives.

This intent belongs to AOSP Camera app and is listed at http://www.openintents.org/action/com-android-camera-action-crop, but please read https://commonsware.com/blog/2013/01/23/no-android-does-not-have-crop-intent.html before you decide to use it.

38 questions
0
votes
1 answer

How to Crop the image in android marshmallow by using default crop intent?

In my application requirement is select the image from gallery and then crop the selected image and set to the imageview. Below is my sample code for cropping the image. //call the standard crop action intent (the user device may not support it) …
0
votes
1 answer

Cropped image is blurred in TouchImageView

I used crop intent to add image cropping functionality to my application. I used TouchImageView as my image view. After cropping and setting the cropped image to the TouchImageView, the image is blurred. Before adding this crop functionality, I have…
Shravan DG
  • 527
  • 1
  • 5
  • 16
0
votes
0 answers

Image handing: file path + uri + exif data (rotation) issues

I've been struggling for days to create an activity that picks a image from the camera and crops it into a square shape efficiently (not loading the image into memory). Taking the picture is no big deal: Intent mediaPickingIntent = new…
0
votes
0 answers

Android- crop square image inside bounding box on surfaceview

I am trying to crop image inside bounding box from camera preview and display in a activity. I have a surfaceview and a square imageview on top of it. I have to capture image that appears only inside imageview. Following is my cropping code, No idea…
Idea
  • 1
  • 2
0
votes
0 answers

Camera uploading issue in some devices [May be duplicate]

I am facing issue while taking image from camera and gallery to a fragment, my condition is I have four fragments in view pager and one of the fragment is having profile pic update functionality, I am not getting the result in onActivityResult() of…
0
votes
1 answer

android crop image from gallery nullpointexception

I'm working in Camera.i want to choose image from my gallery and crop selected photo and then show it in my imageview.i wrote some code but i have problem in cropping. this is a my error Caused by: java.lang.NullPointerException: Attempt to…
donoachua
  • 193
  • 2
  • 16
0
votes
0 answers

open crop intent android

I am using the following code to allow user to capture Image and then crop it in android, I have found the code on internet public class ShootAndCropActivity extends Activity implements OnClickListener { //keep track of camera capture intent final…
-1
votes
1 answer

How to convert image to Bitmap after it's been cropped?

In my application I want cropped the image and then convert this to bitmap. For crop image I use this library : https://github.com/jdamcd/android-crop I want when call onActivityResult convert this image to bitmap and for this I write below codes :…
BoboGoooool
  • 79
  • 1
  • 1
  • 6
1 2
3