I need to crop a picture. What I want to do is crop it by zooming the picture and then saving whatever is visible on the screen. Can anyone help me?
I recommend Image Crop library.
https://github.com/naver/android-imagecropview
please try this :)
Related
I want to show image with specific zoom level using Glide library in Image view. I tried .centerCrop() but it zooms image very slightly. Is there any way to achieve this?
Try this
Glide.with(context).load("your-image-url-or-resource").override(600,200).into("your_image_view");
override(600, 200) is the image dimension you wish to display the image in, and apply centerCrop. Hope this helps you.
I have problem with my android application. I want to scale or projection my image from rectangle to trapezoid. My images i received from my camera. I dont know how to scale them. I need some help from you.
Here is my image to decrible my idea.
Thank inadvance!
I want to change image cropping frame for my android project. I have now image1 but I need image2 please help me.
You can use Cropper image cropping tool .
It provides a way to set an image in XML and programmatically, and displays a resizable crop window on top of the image. Calling the method getCroppedImage() will then return the Bitmap marked by the crop window.
https://github.com/edmodo/cropper I think this is helpful for this question. I have solved my problem from this .
I am trying to implement a crop image for my app.
What I want to do is that I've an imageview set to 300x300 .I am taking images from
CAMERA and GALLERY now the images can be bigger than 300x300. I want to implement
a cropping tool using which I can drag the image inside imageview so that I can select the useful portion of 300x300 of the image.
I want to implement the same feature which this app implemented for cropping.
Can anyone point me in the right direction ?
Try this:
https://github.com/biokys/cropimage
But if you want to drag and fit useful portion of a image in a Imageview than you can use MultiTouch View.
https://code.google.com/p/android-multitouch-controller/
You can move the image on a custom view. Zoom and Pinch. Once you found the useful area. Take a screenshot of the imageview.
hope any of the solutions helps :)
I have to save a crop image (I used to crop the functionality of android ) in a folder data/data/myapp/files/ !!
I looked up how to do, but can not figure out the right way!
Can anyone tell me where to see, or how?
Thank you!!