Convert PNG from premultiplied-alpha to conventional alpha transparancy?

笑着哭i 提交于 2019-12-07 12:43:18

问题


I'm having a really hard time working with some source images in PNG format that have premultiplied alpha because most tools simply do not support it correctly.

Is there anything out there that can do a "best guess" conversion to a more conventional PNG?


回答1:


If by "premultiplied alpha" you mean iOS's PNG derivative, then you can convert them back to PNGs with pngdefry.

Standard PNGs never use premultiplied alpha.



来源:https://stackoverflow.com/questions/7189417/convert-png-from-premultiplied-alpha-to-conventional-alpha-transparancy

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!