davemorrissey / subsampling-scale-image-view

Android library (AAR). Highly configurable, easily extendable deep zoom view for displaying huge images without loss of detail. Perfect for photo galleries, maps, building plans etc.
Apache License 2.0
7.88k stars 1.2k forks source link

bitmap = ((BitmapDrawable) binding.imgResult.getDrawable()).getBitmap(); does not work #578

Open RafiAhsanal opened 1 year ago

RafiAhsanal commented 1 year ago

Please provide as much of the following information as possible. Please do not raise issues to ask for help developing your app.

Expected behaviour

Actual behaviour

Steps to reproduce

(Include your setup code, and where relevant, your layout XML)

Affected devices

(Specific devices, screen densities, SDK versions)

Affected images

(Attach images you have problems with)

panpf commented 1 year ago

If you're looking for a zoom image component on Android, take a look at my ZoomImage (https://github.com/panpf/zoomimage) library. It can be used for View and Compose, supports scaling, panning, positioning, rotation, and super-large image subsampling. It also integrates image loaders such as sketch, glide, picasso, coil, etc.

如果你正在寻找 Android 上的变焦图像组件,可以看看我的 ZoomImage (https://github.com/panpf/zoomimage) 库。它可用于 View 和 Compose,支持缩放、平移、定位、旋转、超大图子采样,它还集成了 sketch、glide、picasso、coil 等图像加载器