cookie-cutter icon indicating copy to clipboard operation
cookie-cutter copied to clipboard

For small images facing issue

Open anujkalal opened this issue 8 years ago • 2 comments

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

anujkalal avatar Jan 19 '17 05:01 anujkalal

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 ?

adamstyrc avatar Jan 24 '17 14:01 adamstyrc

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();

untimated avatar Jan 27 '17 17:01 untimated