为什么ImageMagick没有正确地将EPS转换为PNG(没有保留颜色)



我正在尝试使用ImageMagick将EPS转换为PNG,但遇到了困难。该图像确实转换为PNG,但存在缺陷(见下文)。

转换后的PNG

我尝试了很多不同的转换和选择,但似乎都没有什么不同。有人知道问题可能是什么以及解决问题的方法吗?

到目前为止,我尝试过的一些例子是:

convert 20-[brush].eps -colorspace RGB thumb_20-[brush].png
convert 20-[brush].eps -colorspace sRGB thumb_20-[brush].png
convert 20-[brush].eps -colorspace CMYK thumb_20-[brush].png 
convert 20-[brush].eps -depth 4 -strip thumb_20-[brush].png
convert 20-[brush].eps -channel RGB -seperate thumb_20-[brush].png 
convert thumb_20-[brush]-1.png thumb_20-[brush]-2.png thumb_20-[brush]-3.png -channel RGB  -combine combined.png

也有很多其他尝试,但我已经开始忘记我尝试过的

我们非常感谢在这个问题上提供的任何帮助。

编辑:我注意到这似乎是原始EPS文件的问题,因为我现在已经用外包和转换工作进行了测试-这个问题现在可能会更好,因为-"为什么我在photoshop中创建的EPS没有转换?"

我注意到原始EPS文件似乎有问题,因为我现在已经用外包和转换工作进行了测试-现在问题可能会更好,因为-"为什么我在photoshop中创建的EPS没有转换?"

最新更新