I have the following image
Is there some way for me in Tikz, to remove the part to the right of the white line, and insert it with a slide of another image? Ideally I should be able to select 0-1 how far the image is to the right.
For instance with the following image,
the result could look like this
Sorry for no MWE, as I am very unsure where to start. Any help getting started would be much appreciated.
EDIT:
Thanks to Ignasis I was able to produce an MWE. The result looks like this
Improvements / Things I was not able to fix myself
I was not able to include my original
8pyV9.jpgas this kept throwing me anPackage graphics Error: Division by 0.?. Why? I tried to change the filename, alas nothing helped.Why is there a white margin on the bottom and to the right of the images? I would like them to be flush with the page borders.
Is there a way to make sure the blue image fits the pagewidth, where the white line is correctly placed? I was able to set it correctly manually now, but if I change the page borders, it throws everything off.
Is it possible to move the right image right and left to choose which parts is included?
MWE
\documentclass{article}
\usepackage{tikz}
\usepackage[b5paper,lmargin=25mm, rmargin=25mm,tmargin=27mm, bmargin=30mm]{geometry}
\usepackage{graphics,graphicx,calc}
\definecolor{main}{HTML}{003349}
\begin{document}
\pagestyle{empty}
\newgeometry{margin=0pt}
\def\mygraphic{\includegraphics[width=\textwidth]{Q7xB7.png}}
\newlength\graphicheight
\setlength\graphicheight{\heightof{\mygraphic}}
\vspace*{\fill}\noindent%
\begin{tikzpicture}
%
\begin{scope}
\path[clip] (18,0)--++(180:6.7cm)--++(70:\graphicheight)-|cycle;
\node[anchor=south east] at (18,0) {\includegraphics[height=\graphicheight]{uniwallpaper.jpeg}};
% \fill[color=main,opacity=0.8] (0,0) rectangle (\textwidth,\graphicheight);
\end{scope}
\begin{scope}
\path[clip] (0,0)--++(0:11.2cm)--++(70:\graphicheight)-|cycle;
\node[anchor=south west] {\includegraphics[width=\textwidth]{Q7xB7.png}};
\end{scope}
\end{tikzpicture}
\end{document}







