0

I wanted to obtain the same result as shown at Crop an inserted image?

by having a round (rather than rectangular) crop or viewport.

Any idea of how to obtain this effect?

Thanks.

2 Answers2

1

Similar to leandriis' example:

\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}
daleif
  • 54,450
1

There is command \clipinoval in OpTeX:

\clipinoval 3cm 3.5cm 6cm 7cm {\picw=6cm \inspic{myphoto.jpg}}
\end

Try to process this document by optex document when myphoto.jpg is in your current directory.

wipet
  • 74,238