# Includegraphics: set image opacity

I'd like to insert a PDF, but make it "lighter" by setting the opacity to 10% ("background watermark"). How to do that? A solution that works with texlive 2011 would be great.

I use pdflatex and includegraphics to insert the image.

-
I suggest you to take a look at PGF/Tikz mirrors.ctan.org/graphics/pgf/base/doc/generic/pgf/… (search Referencing the Current Page Node - Absolute Positioning) –  Lionel MANSUY Dec 11 '12 at 8:35
I hope there is a solution without loading the whole tikz-pgf bundle into my tiny document... –  topskip Dec 11 '12 at 8:37
@topskip Certainly possible, all you have to do is use TikZ for a demo, \tracingall the resulting output and see what specials to use :-) –  Joseph Wright Dec 11 '12 at 8:40
@JosephWright I guess my harddrive is too small for the resulting log file :) –  topskip Dec 11 '12 at 8:47

You could use the transparent package to set the opacity of your background image:

\documentclass{article}
\usepackage{lipsum}

\usepackage{graphicx}
\usepackage{transparent}
\usepackage{eso-pic}
\put(0,0){
\parbox[b][\paperheight]{\paperwidth}{%
\vfill
\centering
{\transparent{0.4}\includegraphics[width=0.5\textwidth]{drawing}}%
\vfill
}
}
}

\begin{document}
\lipsum
\end{document}


In case the transparency doesn't work with your image for some reason, you could instead put a semi-transparent white box over your image:

\documentclass{article}
\usepackage{lipsum}

\usepackage{graphicx}
\usepackage{transparent}
\usepackage{eso-pic}
\put(0,0){
\parbox[b][\paperheight]{\paperwidth}{%
\vfill
\centering
\includegraphics[width=0.5\textwidth]{drawing}%
\vfill
}
}
\put(0,0){%
\transparent{0.7}\textcolor{white}{\rule{\paperwidth}{\paperheight}}
}
}

\begin{document}
\lipsum
\end{document}

-
First tests show that this works for some images only. "My" image of course does not work ... –  topskip Dec 11 '12 at 9:19
@topskip: Oh, that's interesting. Have you made sure to compile the document twice? –  Jake Dec 11 '12 at 9:25
@topskip: Workaround: Put a semi-transparent white rectangle above the image but below the text. See my edit. –  Jake Dec 11 '12 at 9:29
Workaround looks fine :) Thanks! –  topskip Dec 11 '12 at 9:48