把png变蒙版
A GIF has “one color transparency” – a single color may be chosen as transparent in the image. This means that PhotoShop must smooth the visible edges of the image that touch the transparency against an expected background color. This is chosen by setting the appropriate “matte color” in PhotoShop when exporting the image. The application then antialiases the edges of the GIF against the expected background color, providing a smooth transition.
GIF具有“一种颜色透明性”-可以选择一种颜色作为图像中的透明性。 这意味着PhotoShop必须使用预期的背景色来平滑触摸透明胶片的图像可见边缘。 通过在导出图像时在PhotoShop中设置适当的“无光泽颜色”来选择此项。 然后,应用程序将GIF的边缘与预期的背景色进行抗锯齿 ,以提供平滑的过渡。