In the following MWE, the strike out content is shifted horizontally and vertically. How avoid these shifts?
\documentclass{beamer}
\usepackage{mwe}
\usepackage{tikz}
\usepgflibrary{shapes.misc}
\begin{document}
\begin{frame}
\includegraphics[width=\linewidth]{image-a}
\end{frame}
\begin{frame}
\tikz \node [strike out,draw=red,line width=5pt]
{\includegraphics[width=\linewidth]{image-a}};%
\end{frame}
\end{document}

draw=noneinstead ofdraw=red? – epR8GaYuh Jun 16 '17 at 08:31strike outwithopacity=0in the frame without the strike. – Huang_d Jun 16 '17 at 08:32opacity=0hence is invisible – Denis Bitouzé Jun 16 '17 at 08:38