Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

For small images facing issue #1

Open
anujkalal opened this issue Jan 19, 2017 · 2 comments
Open

For small images facing issue #1

anujkalal opened this issue Jan 19, 2017 · 2 comments

Comments

@anujkalal
Copy link

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

@adamstyrc
Copy link
Owner

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 ?

@untimated
Copy link

untimated commented Jan 27, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants