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

awebp 渲染出来的效果不太对 #126

Open
CaichaoGitHub opened this issue Apr 15, 2024 · 2 comments
Open

awebp 渲染出来的效果不太对 #126

CaichaoGitHub opened this issue Apr 15, 2024 · 2 comments

Comments

@CaichaoGitHub
Copy link

作者,你好
我使用如下代码,渲染webpframe到bitmap ,效果不太对劲
image

生成的bitmap,出现了一些方块
image

@zjupure
Copy link
Owner

zjupure commented Apr 21, 2024

WebpImage不能直接使用,你只需要使用Glide加载WebpDrawable即可

GlideApp.with(mContext)
.load(url)
.into(imageView);

@CaichaoGitHub
Copy link
Author

那看来不行,我想用这个解码器,然后加载到纹理 渲染到 TextureView 里

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

No branches or pull requests

2 participants