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

GifDecoder不支持透明度 #25

Open
GoogleCodeExporter opened this issue Sep 15, 2015 · 0 comments
Open

GifDecoder不支持透明度 #25

GoogleCodeExporter opened this issue Sep 15, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

如果gif图有半透明背景,会解析为黑色背景。
可以在setPixels方法中修改为    
if (!transparency) {
    c = lastBgColor;
}else{
    c=0x00000000;//设置背景色为透明
}

Original issue reported on code.google.com by sunchy1...@gmail.com on 2 Aug 2013 at 10:10

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

1 participant