我有一个原创图像,我只想调整它的大小,但是在调整大小时,结果图像会变得更红。我试过很多次,但没人能成功。同样奇怪的是,在我本地的ubuntu上一切都很好,问题只发生在CentOs服务器上;
这就是我试过的:
convert fileForRedTest.png -background white -alpha remove fileForTest-result.png
convert fileForRedTest.png -colorspace RGB fileForRedTest-result.png
convert fileForRedTest.png -define png:bit-depth=16 fileForRedTest-result.png
convert fileForRedTest.png -define png:bit-depth=16 -define png:color-type=6 fileForRedTest-result.png
convert fileForRedTest.png png32:fileForRedTest-result.png发布于 2016-02-01 11:30:00
有两个原因:
发布于 2016-02-01 10:03:35
我没有足够的声誉来发表评论。在Windows上: IM 6.8.9也导致了大量的红色。升级到最新版本后,6.9.3解决了问题。我会再看一看目标机器上的二进制文件。
https://stackoverflow.com/questions/34976035
复制相似问题