有没有高质量的程序化解决方案可以将不透明背景的jpeg转换为透明背景的png?
原文:Are there any high-quality, programmatic solutions for converting a jpeg with an opaque background to a png with a transparent background?
原文:Are there any high-quality, programmatic solutions for converting a jpeg with an opaque background to a png with a transparent background?
这里的常见用例是用户上传带有白色/彩色背景的jpeg徽标。将白色像素切换为透明像素(相当)简单,但这会留下混叠伪影。一