如何反交错png文件? [英] How to de-interlace png files?
本文介绍了如何反交错png文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
为使Slick在没有警告的情况下加载png文件,不能对其进行隔行扫描.我没有photoshop,也不想得到它.是否有其他替代方法可以通过Paint.net插件去隔行扫描图像?我在Windows机器上,只提到这一点,因为有许多只能在Mac或Linux上运行的去隔行扫描程序.
For Slick to load png files without a warning, they cannot be interlaced. I don't have photoshop, and I don't want to get it. Is there an alternative way to de-interlace images, perhaps through Paint.net plugins? I'm on a Windows machine, only mentioning this because there is a multitude of de-interlacing programs that only work on Mac or Linux.
推荐答案
使用 ImageMagick -速度不快,但至少是跨平台的.
Use ImageMagick - it's not fast, but is at least cross-platform.
convert -interlace none interlaced.png uninterlaced.png
这篇关于如何反交错png文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文