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

好像无法生成png了 #46

Open
loethen opened this issue Jan 23, 2018 · 8 comments
Open

好像无法生成png了 #46

loethen opened this issue Jan 23, 2018 · 8 comments

Comments

@loethen
Copy link

loethen commented Jan 23, 2018

之前是可以的,刚发现,png格式的图片上传以后会加白色背景

@Aqours
Copy link
Member

Aqours commented Jan 23, 2018

微博相册的问题,官方传图也是这样

@StackExplode
Copy link

把文件用转成gif,注意保留透明通道,推荐用PS。传gif 能够保留透明。
测试图片:http://wx2.sinaimg.cn/large/ba8af787gy1g15sjsbolmg20hn0i0jsq.gif

@phith0n
Copy link

phith0n commented Jan 6, 2020

其实用JavaScript把图片转换个格式再上传比较好。

@Aqours
Copy link
Member

Aqours commented Jan 6, 2020

@phith0n 32bit PNG 转换为 8bit GIF 会丢失色彩,没什么必要去转

@phith0n

This comment has been minimized.

@Aqours

This comment has been minimized.

@phith0n

This comment has been minimized.

@Aqours

This comment has been minimized.

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

4 participants