ImageMagick's convert tells me: no images defined
I tried to execute following command:
$ convert 1.png -filter 'Jinc ( +clone -negate -morphology Distance Euclidean -level 50%,-50% )' -morphology Distance Euclidean -compose Plus -composite -level 43%,57% -resize 12.5% 1.png
It tells me:
convert: no images defined `1.png' @ error/convert.c/ConvertImageCommand/3187.
but it is exists! I tried to execute that command with the debug option enabled:
$convert 1.png -filter 'Jinc ( +clone -negate -morphology Distance Euclidean -level 50%,-50% )' -morphology Distance Euclidean -compose Plus -composite -level 43%,57% -resize 12.5% 1.png -debug all
I get this output: http://pastebin.com/gsw7KszH
What's wrong with my ImageMagick's configuration? I use the latest macOS.
您可以尝试在复合运算符之后指定文件名,如下所示:
$ convert 1.png
-filter 'Jinc ( +clone -negate -morphology Distance Euclidean -level 50%,-50% )'
-morphology Distance Euclidean
-compose Plus
-composite 1.png
-level 43%,57%
-resize 12.5% 1.png
链接地址: http://www.djcxy.com/p/90924.html