Closed yishangfei closed 1 year ago
本库不支持glide的transformer
我去掉那一行也不行 主要是我去用APNGParser.isAPNG 提示我这个不是apng 可我这张图是apng把 @penfeizhou
APNG Demo里这张APNG图可以正常播放
kotlin 使用kapt导入glide:compiler 然后新建下面这个类 Build->Rebuild Project编译出GlideApp @GlideModule class BaseGlideModule : AppGlideModule()
还是静态图。不知道怎么回事。
还是静态图。不知道怎么回事。
能提供下你的demo代码么
New Issue Checklist
Issue Info
Issue Description and Steps
Please fill in the detailed description of the issue (full output of any stack trace, compiler error, ...) and the steps to reproduce the issue.
Build.Gradle配置 api 'com.github.bumptech.glide:glide:4.14.2' kapt 'com.github.bumptech.glide:compiler:4.14.2' api 'com.github.penfeizhou.android.animation:apng:2.24.0' api 'com.github.penfeizhou.android.animation:glide-plugin:2.24.0'
代码 Glide.with(context) .load("http://embyvip.misakaf.org:8096/emby/Items/495831/Images/Primary?maxWidth=540&tag=d938cf29a2defa3b31c159dddfa0b83b&quality=90") .transform(RoundedCorners(15)) .into(itemMovieImg)
图片无法动 使用APNGParser.isAPNG 是false
尝试用 https://github.com/oupson/Kapng-Android这个库是能动的