Trying to overlay some TikZ onto an image, I have found two very helpful Q&As:
I especially like the onimage solution of the second answer. So I tried using the GUI TikzEdt with this:
\begin{tikzonimage}{bottle.jpg}
\draw [orange, line width=5pt] (0.5,0.92) circle [radius=0.75cm];
\end{tikzonimage}
But I can't get this to work. I added \usepackage{onimage} in the Settings-Settings-Compiler options.
The TikzEdt compilation output yields:
! LaTeX Error: Environment tikzonimage undefined.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.3 \begin{tikzonimage}
{bottle.jpg}
! ==> Fatal error occurred, no output PDF file produced!
I don't know why it won't work, as it compiles fine when I use MiKTeX. How can I make TikzEdt find the tikzonimage environment?


png-files, let's me click on the desired points and outputs some tikz-code with the coordinates of the nodes. But as TikzEdt looked promising and already has this WYSIWYG interface, which can be used to create nodes at certain positions I was hoping to automate this a bit. It seems I'm not the only one having this problem as the second highly upvoted answer to the first question gives the tip to overlay a grid onto the image to have some help in extracting the coordinates. (Which is tedious for lots of points) – knedlsepp Feb 23 '15 at 23:09onimage.dtxfile, ranpdflatexon it and put the resulting.styin the same folder as the.texfile mentioned above... It's not by any chance you have TikzEdt installed and can reproduce the problem? – knedlsepp Feb 24 '15 at 01:04onimage.styand added it in mylocaltexmffolder and ran afndbrefresh, added\usepackage{onimage}in settings, and.... it works! – Feb 24 '15 at 01:09.styfile in the correct folder. I was assuming it would be enough to just put it in the folder where my.texfiles are. (It worked for MiKTeX...) I'd be happy to accept this as an answer (and even more pleased if you could specify which folder it is exactly where I should put the.styfile in) – knedlsepp Feb 24 '15 at 01:12