\documentclass[tikz]{standalone}
\usepackage{circuitikz}
\usepackage{xeCJK}
\usepackage{graphicx}
\usepackage{xcolor}
\usepackage[T1]{fontenc}
\definecolor{XJBlue}{RGB}{0, 78, 151}
\definecolor{XJRed}{RGB}{200, 22, 30}
\definecolor{XJGray}{RGB}{220, 220, 221}
\begin{document}
\begin{circuitikz}
\draw (0,0) to [short, o-o] (6,0);
\draw (0,2) to [inductor=$L_1$, o-] (3,2) to [inductor=$L_2$, -o] (6,2) ;
\draw (3,2) to [inductor=$L_m$, -] (3,0);
%\draw (6,2) to [short, o-o] (6,0);
\end{circuitikz}
\end{document}
画好一个电路图,不想保存成pdf,怎么保存成图片?