# Standalone convert does not produce png

I have the following example code:

\documentclass[convert={convertexe={convert.exe}}]{standalone}

\begin{document}

hello

\end{document}


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@
internal@run\endcsname{1}\input{Test}")...executed.
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.

• 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? – Uwe Ziegenhagen Oct 10 '14 at 16:58
• And is convert included in your PATH before the os command to convert from FAT to NTFS? – Martin Heller Oct 10 '14 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 '14 at 11:33