Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Android]Add APNG support #7

Open
boboxiaodd opened this issue Jan 2, 2024 · 2 comments
Open

[Android]Add APNG support #7

boboxiaodd opened this issue Jan 2, 2024 · 2 comments

Comments

@boboxiaodd
Copy link

i add dependencies to build.gradle like react-native-fast-image , but not work.

implementation 'com.github.penfeizhou.android.animation:glide-plugin:2.28.0
@boboxiaodd
Copy link
Author

I have found a solution
add dependenc:

implementation 'com.github.penfeizhou.android.animation:glide-plugin:2.28.0

create a file name BlastedImageGlideModule.java

package com.xerdnu.blastedimage;

import com.bumptech.glide.annotation.GlideModule;
import com.bumptech.glide.module.AppGlideModule;

@GlideModule
public final class BlastedImageGlideModule extends AppGlideModule {
}

@boboxiaodd
Copy link
Author

by the way , this plugin support awebp,apng,gif,avif

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants