我尝试使用 imagemagick 将图像转换为缩略图。一切正常,所以我会得到一个缩略图。但我的控制台上出现了一些错误:
convert: unable to open image `module': @ error/blob.c/OpenBlob/2489.
convert: unable to open image `*': @ error/blob.c/OpenBlob/2489.
convert: unable to open file `*': @ error/blob.c/FileToBlob/831.
convert: unable to open image `*': @ error/blob.c/OpenBlob/2489.
convert: unable to open file `*': @ error/blob.c/FileToBlob/831.
convert: unable to open image `*': @ error/blob.c/OpenBlob/2489.
convert: unable to open file `*': @ error/blob.c/FileToBlob/831.
convert: unable to open image `*': @ error/blob.c/OpenBlob/2489.
convert: unable to open file `*': @ error/blob.c/FileToBlob/831.
convert: unable to open image `*': @ error/blob.c/OpenBlob/2489.
convert: unable to open file `*': @ error/blob.c/FileToBlob/831.
convert: unable to open image `*': @ error/blob.c/OpenBlob/2489.
convert: unable to open file `*': @ error/blob.c/FileToBlob/831.
convert: unable to open image `*': @ error/blob.c/OpenBlob/2489.
convert: unable to open file `*': @ error/blob.c/FileToBlob/831.
convert: unable to open image `*': @ error/blob.c/OpenBlob/2489.
convert: unable to open file `*': @ error/blob.c/FileToBlob/831.
所有权限均已正确设置。我在谷歌或其他地方找不到这样的错误。希望有人能提供一些想法:)感谢您的帮助。
答案1
您需要提供您正在使用的命令。
很有可能,您已将 a 放在*
a 内'
,因此您的命令应该是:
convert -opts ... *
并不是
convert -opts ... '*'