[Tex/LaTex] Background image in beamer slides

backgroundsbeamer

In my presentation using Beamer, I want to use some image say village/river as a back ground in some slides. However I will write something in these slides also.

How can I do this?

Best Answer

You can also use \setbeamertemplate{background} {\includegraphics[width=\paperwidth,height=\paperheight,keepaspectratio]{background.jpg}} (where background.jpg is your picture).

A sample background:

enter image description here

Code

\documentclass{beamer}
\setbeamertemplate{background}
{\includegraphics[width=\paperwidth,height=\paperheight,keepaspectratio]{background.jpg}}


\begin{document}

\begin{frame}

\begin{exampleblock}{Test}
\begin{itemize}
\item First item.
\end{itemize}
\end{exampleblock}

\end{frame}

\end{document}

enter image description here

Edit

To answer the comment by the OP

Suppose I want to use african village (google image) as a back ground in some of my slides. But then written documents will be unclear. How one can convert the image as a water marking?

Here one can use the opacity option provided by tikz as

\setbeamertemplate{background canvas}{\begin{tikzpicture}\node[opacity=.1]{\includegraphics [width=\paperwidth]{example-image.pdf}};\end{tikzpicture}}

One can change the opacity values from 0 to 1 as per demand.

The code:

\documentclass{beamer}
\usepackage{tikz}
\setbeamertemplate{background canvas}{\begin{tikzpicture}\node[opacity=.1]{\includegraphics
[width=\paperwidth]{example-image.pdf}};\end{tikzpicture}} % only for the image: http://ctan.org/pkg/mwe
%      \setbeamertemplate{background}{\includegraphics[width=\paperwidth]{example-image.pdf}}
\begin{document}
\begin{frame}{Testing Background Image}
    Hello!
\end{frame}
\end{document}

enter image description here

Related Question