I'm trying to convert a table to png format using Imagemagick
\documentclass[12pt,a4paper,border=8pt,convert=true]{standalone}
\usepackage{booktabs}
\usepackage{caption}
\usepackage{siunitx}
\sisetup{binary-units = true,
table-format=7.0}
\begin{document}
\minipage{1.08\textwidth}
\addtolength{\tabcolsep}{-1.0pt}
\begin{tabular}{lS[table-format=6.0]
S[table-format=6.0]
S[table-format=6.0]
SSS}
\toprule
Device & 2011 & 2012 & 2013 & 2014 & 2015 & 2016 \\
\midrule
Non-smarthphones & 22686 & 55813 & 108750 & 196262 & 357797 & 615679 \\
Smarthphones & 104759 & 365550 & 933373 & 1915173 & 3257030 & 5221497 \\
Laptops e Netbooks & 373831 & 612217 & 917486 & 1340062 & 1963950 & 2617770\\
Tablets & 17393 & 63181 & 141153 & 300519 & 554326 & 1083895\\
Home gateways & 55064 & 108073 & 180562 & 267545 & 376494 & 514777 \\
M2M & 23009 & 47144 & 92150 & 172719 & 302279 & 508022 \\
Altri devices & 525 & 1460 & 5429 & 22966 & 84204 & 242681\\
\bottomrule
\end{tabular}
\captionof*{table}{Traffico mobile globale al mese per dispositivo in \si{\tera\byte}}
\endminipage
\end{document}
Here it is the table create using standalone package. I read the documentation and it says to use ImageMagick. The problem is when I compile it doesn't find the exacutable imgconvert.exe. So I put this exacutable into folder where there is tex file. Now when I compile I got another error:
imgconvert.exe: `%s' (%d) "gswin32c.exe" -q -dQUIET -dSAFER -dBATCH -dNOPAUSE
-dNOPROMPT -dMaxBitmap=500000000 -dEPSCrop -dAlignToPixels=0 -dGridFitTT=2
"-sDEVICE=pngalpha" -dTextAlphaBits=4 -dGraphicsAlphaBits=4 "-r300x300"
"-sOutputFile=C:/Users/MAZZAR~1/AppData/Local/Temp/magick-31681PKeFVHE065o"
"-fC:/Users/MAZZAR~1/AppData/Local/Temp/magick-3168A-Fab6j3iIUc"
"-fC:/Users/MAZZAR~1/AppData/Local/Temp/magick-3168QXzuvG_UAP07"
@ error/utility.c/SystemCommand/1890. imgconvert.exe: Postscript delegate failed
`table.pdf': No such file or directory @ error/pdf.c/ReadPDFImage/678.
imgconvert.exe: no images defined `table.png' @ error/convert.c/ConvertImageCommand/3066.

convertis also the MS tool for FAT to NTFS conversion of harddrives, therefore the recommendation is to rename Image Magick'sconvert.exetoimgconvert.exe. In order not to be blamed for any data loss due to mystandalonepackage (even if this is very unlikly) I put the default executable name toimgeconvert. This can be change using theconvert={convertexe={convert.exe}}class option. This all is also described in detail in thestandalonemanual. – Martin Scharrer Jan 18 '13 at 15:28standalonemuch under MS Windows. I developed it under Linux and there it works well. I fixed some quoting issues with Windows, one actually very recently. Maybe there is a similar issue here. I will try to debug this at my Windows machine soon. – Martin Scharrer Jan 18 '13 at 15:30standaloneshould be reported to the package bug tracker. (There is one for each of my packages.) Bug reports should not be posted here, see Questions which are bug reports on Meta for the discussion about it. – Martin Scharrer Jan 18 '13 at 15:33