cookie-cutter
cookie-cutter copied to clipboard
For small images facing issue
When fetch the small image from gallery then show full size then pinch zoom the image I am not able to revert it in earlier manner.please give some solution
So you are not able to select full size of image again? Normally I'm able to select whole image by moving and pinching because select bounds cannot go beyond the image. Do you have some video ?
I also have an issue with small images. Roughly images of less than 150 x 150, above is fine although zoom is limited compare to 1000px images. For small images it wasn't scaled as expected on pinch gesture.
i've tried using setMaxZoom and setMinImageSize of various scales, Still has no luck with it. Note that i've set the cookie-cutter ImageView's layout to 'match_parent' and no other clutter configurations. How to zoom when the image is small ? Image first untouched Image after touched
I have followed your initialization instruction :
loadedImage = Bitmap.createBitmap(loadedImage , 0, 0, loadedImage.getWidth(),loadedImage.getHeight(), matrix, true); ivCrop.setImageBitmap(loadedImage); ivCrop.init();