[Tex/LaTex] How to set a background image for the header

graphicsheader-footer

I use IEEE latex file for a conference. The conference has provided a Mircosoft Word template for the paper that matches the IEEE tex file but it has a background on the header as follows, which is repeated on all pages:

enter image description here

The top margin is "1.38 inch", I used fancyhdr package as follows to set the background:

\usepackage{fancyhdr}
\pagestyle{fancy}

\setlength\headheight{1.38in} 

\rhead{\includegraphics[width=\textwidth]{head}}

It creates a header with the image, however the image is not faded as it is in the word document, but more importantly, it shifts the text to the bottom as follows:

enter image description here

What can I do to solve the problem?

Best Answer

It's possible to use the background package by Gonzalo Medina and use fading by opacity=0.2 (for example)

\documentclass{article}


\usepackage{background}
\backgroundsetup{contents={\includegraphics[width=\textwidth]{kbei.jpg}},scale=1,placement=top,opacity=0.2,position={8.3cm,1cm}}


\usepackage{blindtext}

\begin{document}

\blindtext[10]

\end{document}

enter image description here