Piasy / BigImageViewer

Big image viewer supporting pan and zoom, with very little memory usage and full featured image loading choices. Powered by Subsampling Scale Image View, Fresco, Glide, and Picasso. Even with gif and webp support! 🍻
MIT License
3.98k stars 400 forks source link

Scaling GIF images #244

Open hxgJG opened 1 year ago

hxgJG commented 1 year ago

Why doesn't support scaling GIF images?

saket commented 1 year ago

This is because the library's gesture detector is tightly coupled with its sub-sampling image viewer. You could use a separate gesture detector when GIFs are displayed but you'll have to be careful to use something that looks and feels the same to prevent an inconsistent experience between bitmaps and GIFs.

If you're using Compose UI, I recently published telephoto that solves this problem.