# Export/convert/externalize tikzpicture as LaTeX (picture) code?

I have seen "32.4 Externalizing Graphics" in the Tikz manual, which explains how Tikz images can easily be exported as PDF images using pdfLaTeX.

However, I am persuaded I saw somewhere a way to export a Tikz picture to 'raw' (primitive?) Latex code in `picture` environment syntax (i.e. using `\put`, `\line`, etc.) - but I may have mixed this up with `dpic`/M4 Circuit macros :)

In any case - if `tikz` images get 'compiled' to (La)Tex code as an intermediate step - is it somehow possible to export/externalize/convert Tikz picture code to (plain?) LaTeX code?

-
Tikz uses driver specials, not the LaTeX `picture` environment, to work. So you can't do what you ask for here, I'm afraid. – Joseph Wright May 2 '11 at 6:26
Thanks @Joseph Wright - nice to have that confirmed... – sdaau May 2 '11 at 7:37

The best bet for sharing TikZ images with people who can't install the PGF package (such as journals) is to externalize the code, compile it to a static file like PDF and then replace the `tikzpicture` environments in your document with `\includegraphics`.