With current version of ImageMagick, ImageMagick 7.0.7-21 Q16 x64 2018-01-06 application filename is long ago magick so the standalone package should be invoked by something like this:
\documentclass[convert={convertexe=magick,density=200,outext=.png}]{standalone}
which sends command
magick -density 200 filename.pdf filename.png
to the prompt. Now this procedure results with PNGs with a transparent background. To avoid transparence prompt command should be changed to
magick -density 200 filename.pdf -alpha remove filename.png
that is, -alpha remove should be put between two filenames. This means that -alpha remove cannot be simply attacked to density=200, as proposed elsewhere: converting a table to png using standalone.
I went through the standalone package, and Pg. 17 of the manual suggests that command prompt could be reconstructed using sub-option command. So what I actually tried to do is this:
\documentclass[tikz,convert={convertexe=magick,density=200,outext=.png,command={\convertexe\space -density \density\space \infile\space -alpha remove\space \outfile}}]{standalone}
However, it seems that command reconstruction does not work, as PdfLatex compiler from Miktex returns ! Undefined control sequence. upon invoking \convertexe.
The example in the manual reads:
command={\convertexe\space -density \density\space \infile\space \ifx\size\empty\else -resize \size\fi\space -quality 90 \outfile}
What is wrong? Did I misread the instructions?
[]brackets? Would that qualify as a bug or as me misreading the manual? – Pygmalion Feb 06 '18 at 10:40