\documentclass{article}
\usepackage{tikz}
\usepackage[active,tightpage]{preview}
\PreviewEnvironment{tikzpicture}
\setlength\PreviewBorder{0mm}
\begin{document}
 \begin{tikzpicture}
  \fill[ball color=yellow](0,0) circle (1cm);
 \end{tikzpicture}
\end{document} 