hardcore-sushi / DroidFS

Encrypted overlay filesystems implementation for Android. Also available on gitea: https://forge.chapril.org/hardcoresushi/DroidFS
GNU Affero General Public License v3.0
654 stars 43 forks source link

[Feature Request] Much higher or configurable maxScale for ZoomableImageView? #275

Open kylepaulsen opened 8 months ago

kylepaulsen commented 8 months ago

Hey this is a super cool app! I had a feature request:

It would be nice for large images with text to be zoomable up to a very large scale - maybe like 10x? Right now it looks like the max scale is 3: https://github.com/hardcore-sushi/DroidFS/blob/967d4551c57abbc9febd5f23f6a7fd1af4118b89/app/src/main/java/sushi/hardcore/droidfs/widgets/ZoomableImageView.java#L27C24-L27C32

Either a larger value like 10 or some way for the user to configure that would be awesome.

kylepaulsen commented 8 months ago

I got around my issue by converting the image to a pdf using ImageMagick's convert cli. The app allows very high zoom levels in PDFs. So feel free to close this I guess.

hardcore-sushi commented 8 months ago

Yes you are right. This limit should only be used for double-tap zoom, not for manual pinch zoom.