答案1
\clipinoval
OpTeX中有命令:
\clipinoval 3cm 3.5cm 6cm 7cm {\picw=6cm \inspic{myphoto.jpg}}
\end
尝试在当前目录中optex document
处理该文档。myphoto.jpg
答案2
与 leandriis 的示例类似:
\documentclass{standalone}
\usepackage{tikz,graphicx}
\begin{document}
\begin{tikzpicture}
\clip (0,0) circle (1);
\node[inner sep=0pt] at (0,0) {\includegraphics{example-image}};
\end{tikzpicture}
\end{document}