I'm trying to use the standalone package to produce .jpeg files from my TiKz code. I use TexStudio and Windows 8.1. I have both pdf2svg and ImageMagik installed.
If I use the following code, TeXstudio hangs on me.
\documentclass[convert={density=800x300,outext=.jpg}]{standalone}
\usetikzlibrary{calc}
\begin{document}
\begin{tikzpicture}
\draw (0,0) rectangle (2,1) node [midway] {Example};
\end{tikzpicture}
\end{document}
If I change the code to:
\documentclass{standalone}
\usetikzlibrary{calc}
\begin{document}
\begin{tikzpicture}
\draw (0,0) rectangle (2,1) node [midway] {Example};
\end{tikzpicture}
\end{document}
Then use a terminal to convert the file the command
convert standalone_test.pdf standalone.jpeg
Produces a horribly small image 
Using the terminal command
convert standalone_test.pdf -resize 800x300 standalone_test.jpeg
Simply gives me a black rectangle 
Any help would be appreciated.
Any idea how to rectify this?
– BenK-G
Mar 17 '16 at 16:18


