I have the following example code:





The addition of "convert={convertexe={convert.exe}}" is added as suggested here. I want to convert the outcome into a .png file.

I use the following command

pdflatex --shell-escape Test.tex

as suggested in the standalone package manual section 4.6.2.

But then I get the following error message:

runsystem(pdflatex  -shell-escape  -jobname "Test" "\expandafter\def\csname sa@
runsystem(convert.exe -density 300 Test.pdf  -quality 90 Test.png)...executed.
Class standalone Warning: Conversion unsuccessful!
(standalone)              There might be something wrong with your
(standalone)              conversation software or the file permissions!

I have updated ImageMagick to version 6.8.9.

I have found this question with a similar problem, but the solutions provided do not help me or the author. Hopefully someone can help me now.

Thanks in advance.

  • what happens if you call "convert.exe -density 300 Test.pdf -quality 90 Test.png" on the commandline. Is convert.exe included in your PATH-variable? Oct 10, 2014 at 16:58
  • And is convert included in your PATH before the os command to convert from FAT to NTFS? Oct 10, 2014 at 19:49
  • @ Uwe Ziegenhagen: This gives exactly the same error message, and no .png file is created. During the installation process of ImageMagick it was asked to add it to PATH. Command 'echo %PATH%' indeed shows the ImageMagick folder.
    – Jaap Paap
    Oct 13, 2014 at 11:33

2 Answers 2


Find an exe file - magick.exe, then make two copies of it with name "covert.exe" "imgconvert.exe" in the same folder. Then run your command again.

You can find the file in the folder of ImageMagick, which is "C:\Program Files (x86)\ImageMagick-7.0.6-Q16" for me.

You get this error because the new version of ImageMagick changed the name of "covert.exe" to "magick.exe" while the standalone package didn't know that. For the file "imgcovert.exe", it maybe needed for windows user for some standalone text file to avoid another convert.exe in windows.

  • Convert.exe was a very unspecified name anyway. I appreciate the change. :) Jul 15, 2017 at 19:44

If the imgconvert and magick commands work in your system command prompt, changing the convert option to be "convert={convertexe={magick.exe}}" should work.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .