비머 슬라이드에서 이미지의 원 부분을 표시하는 방법은 무엇입니까?

비머 슬라이드에서 이미지의 원 부분을 표시하는 방법은 무엇입니까?

여기에 이미지 설명을 입력하세요

슬라이드에 이미지의 원 부분만 표시하고 싶습니다.

여기에 이미지 설명을 입력하세요

이미지를 동그라미 이미지로 편집하면 가능한 것으로 알고 있습니다. 그런데 LaTeX에 이 기능이 있는지 알고 싶습니다.

답변1

여기에 예가 있습니다.

\documentclass{beamer}
\usepackage{tikz}
\begin{document}
\begin{frame}
\frametitle{How to clip a picture?}
\begin{overlayarea}{\textwidth}{\textheight}
\begin{tikzpicture}
\clip (0,0) ellipse (3 and 3);
% \clip (0,0) rectangle +(5,3); for crop in rectangle
% \clip (0,0) circle (3); for crop in circle
\node at (0.8,-3) {\includegraphics{Logo3.png}}; %<-you'll need to adjust these
% coordinates, I do not have your original picture
\end{tikzpicture}
\end{overlayarea}
\end{frame}
\end{document}

여기에 이미지 설명을 입력하세요

업데이트: 그래픽의 규모를 가지고 놀고 싶을 수도 있다는 점을 언급하는 것을 잊었습니다.

\documentclass{beamer}
\usepackage{tikz}
\begin{document}
\begin{frame}
\frametitle{How to clip a picture?}
\begin{overlayarea}{\textwidth}{\textheight}
\begin{tikzpicture}
\clip (0,0) ellipse (3 and 2.8);
\node at (0.62,-3) {\includegraphics[scale=0.75]{Logo3.png}}; %<-you'll need to adjust these
% coordinates, I do not have your original picture
\end{tikzpicture}
\end{overlayarea}
\end{frame}
\end{document}

여기에 이미지 설명을 입력하세요

관련 정보