[Tex/LaTex] How to add a gradient fade-out effect to an image

backgroundsbeamergraphicstikz-pgf

I am working on a presentation in beamer and would like to put a logo in the background of the title page with a gradient fade-out effect, similar to the image below. The logo is in PDF format and is in full-shape.

enter image description here

Best Answer

With WriteLaTeX's frog.jpg, also in https://www.writelatex.com/542861kyqykv

\documentclass{beamer}
\usetheme{Warsaw}
\usepackage{tikz}
\usetikzlibrary{fadings}


\setbeamertemplate{background}{%
\begin{tikzpicture}
\path (0,0) rectangle (\paperwidth,\paperheight);
\node[scope fading=west,inner sep=0pt,outer sep=0pt,anchor=north east] at(\paperwidth,\paperheight) {\includegraphics[height=\paperheight]{frog.jpg}};
\end{tikzpicture}
}

\author{Kermit}
\title{Autobiography}
\begin{document}
\maketitle

\end{document}

enter image description here