incomprehensible behavior of the "magick" command
Author: AlexanderShadCreated Sep 17, 2026Updated Sep 17, 2026
ImageMagick version
7.1.2.31
Operating system
Linux
Operating system, version and so on
ALT Regular
Description
in my program i calling a sub command from source code for convert CR2 to PNG
old "convert" command works fine, but "magick" does not convert the image
At the same time, in my log I see that the “magick” command does not create an output file
❯ minivi
LoadFromFile: /home/shad/Изображения/anime_character_in_an_autumn_landscape_3840x2160_xtrafondos_com.jpg
LoadFromFile: /home/shad/Документы/РАЗРАБОТКА/CR2/IMG_5111.CR2
run: magick /home/shad/Документы/РАЗРАБОТКА/CR2/IMG_5111.CR2 /home/shad/Документы/РАЗРАБОТКА/CR2/IMG_5111.png
RunCommand: failed
_e: magick: no decode delegate for this image format ` ' @ error/constitute.c/ReadImage/739.
load_picture _temp_name: /home/shad/Документы/РАЗРАБОТКА/CR2/IMG_5111.png
LoadFromFile: /home/shad/Документы/РАЗРАБОТКА/CR2/IMG_5111.png
file not exists: /home/shad/Документы/РАЗРАБОТКА/CR2/IMG_5111.pngthe “convert” command works fine, although it shows an error
❯ minivi
LoadFromFile: /home/shad/Документы/РАЗРАБОТКА/CR2/IMG_5111.CR2
run: convert /home/shad/Документы/РАЗРАБОТКА/CR2/IMG_5111.CR2 /home/shad/Документы/РАЗРАБОТКА/CR2/IMG_5111.png
RunCommand: failed
_e: WARNING: The convert command is deprecated in IMv7, use "magick" instead of "convert" or "magick convert"
convert: no decode delegate for this image format ` ' @ error/constitute.c/ReadImage/739.
load_picture _temp_name: /home/shad/Документы/РАЗРАБОТКА/CR2/IMG_5111.png
LoadFromFile: /home/shad/Документы/РАЗРАБОТКА/CR2/IMG_5111.pngsource code
RunCommand('convert',[x,' ',_temp_name], _e, [poUsePipes, poWaitOnExit, poStderrToOutPut])full code
Steps to Reproduce
indicated above
Images
indicated above
Source: ImageMagick/ImageMagick