natario1 / ZoomLayout

2D zoom and pan behavior for View hierarchies, images, video streams, and much more, written in Kotlin for Android.
https://natario1.github.io/ZoomLayout
Apache License 2.0
1.05k stars 147 forks source link

Correct handle of large images more then standart imageview size #192

Closed Yahor10 closed 3 years ago

Yahor10 commented 3 years ago

How do I?

I have a bitmap (3000x4000) ,and i want to show it in ZoomImageView with full size and Center Crop . Without quallity loses ofcouse.

What i need to do for that?

I calculate relation between standart and large 2043/4000 = 0.51 and then call zoomLayout.zoomBy(0,51,true); Thanks for assistence

Version used

Latest

webserveis commented 3 years ago

If your purpose is to make a gallery of images with zoom, better use Big ImageView https://github.com/Piasy/BigImageViewer

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had activity in the last 20 days. It will be closed if no further activity occurs within the next seven days. Thank you for your contributions.