In the MWE below, the blue square aligns according to plan, whereas the dummy-image doesn't, see screenshots below. How to re-code so that the dummy-image "A" is aligned like the blue square?
\documentclass[a4paper]{article}
\usepackage{graphicx}
\usepackage{fancyhdr}
\pagestyle{fancy}
\usepackage{xcolor}
\usepackage{lipsum}
% \rhead{{\color{blue}\rule{1cm}{1cm}}}
\rhead{\begin{picture}(0,0) \put(0,0){\includegraphics[width=1cm]{example-image-a}} \end{picture}}
% \rhead{\begin{picture}(3,3) \put(3,3){\includegraphics[width=1cm]{example-image-a}} \end{picture}}
\begin{document}
\lipsum
\end{document}
picture
?fancyhdr
manual... but no, no special reason other than trying to come up with some solution... am just interested in a(n elegant) way to align the picture just like the blue square.