我使用ImageMagick和鬼脚本9.25来转换图像。当我尝试使用图像魔术将.ai文件转换为.png时,我在命令行中得到以下错误
我的命令./convert /home/sample_ai_file2.ai /home/ai_out.png
gs: /opt/software/alfresco-one/common/lib/libtiff.so.5: no version information available (required by /lib64/libgs.so.9)
gs: /opt/software/alfresco-one/common/lib/libjpeg.so.62: no version information available (required by /lib64/libgs.so.9)
gs: symbol lookup error: /lib64/libgs.so.9: undefined symbol: FT_Property_Set
.convert.bin: NoImagesForWrite '-write' '/home/sshtest/ai_out.png' at CLI arg 2 @ error/operation.c/CLINoImageOperator/4769.
.convert.bin: NoImageForProperty "%w" @ warning/property.c/GetMagickPropertyLetter/2561.
.convert.bin: UnknownImageProperty "%w" @ warning/property.c/InterpretImageProperties/3499.
.convert.bin: NoImageForProperty "%h" @ warning/property.c/GetMagickPropertyLetter/2449.
.convert.bin: UnknownImageProperty "%h" @ warning/property.c/InterpretImageProperties/3499.
.convert.bin: NoImageForProperty "%m" @ warning/property.c/GetMagickPropertyLetter/2480.
.convert.bin: UnknownImageProperty "%m" @ warning/property.c/InterpretImageProperties/3499.有谁知道这个错误的原因吗?我可以转换所有其他图像类型,没有任何问题。
发布于 2022-02-08 06:44:49
我找到了上述问题的原因。这个错误是因为我的系统中安装了两个版本的GS。在安装ImageMagick时,默认情况下也会自动安装GS 8.64,然后再次手动安装GS 9.25。删除GS 9.25解决了我的问题。
https://stackoverflow.com/questions/71014636
复制相似问题