I have a noisy, colorful background, and I am writing text into it. The problem is that depending on the background color, part of the text is difficult to read. This is a TeXified question of this other question from graphicdesign.SE.
Here is (the same) picture (originally taken from here). Now if I use this, as a background (london3.png) in the following MWE (thanks to suggestions from Christian Hupfer it is now much cleaner):
\documentclass[a4paper,landscape]{article}
\usepackage[outline]{contour}
\usepackage{background}
\usepackage{eso-pic}
\backgroundsetup{contents={}}
\newcommand\BackgroundPic{%
\put(0,0){%
\parbox[b][\paperheight]{\paperwidth}{%
\includegraphics[
width=\paperwidth,
keepaspectratio%,
]{london3.png}}%
}}
\newcommand{\fancytext}[1]{\textcolor{white}{\contour{black}{\textbf{#1}}}}
\begin{document}
\AddToShipoutPicture*{\BackgroundPic}
\sffamily
\Huge
\vspace*{3cm}
\noindent\scalebox{3}{\fancytext{This is a longgg text which is difficult to read on this background.}}
\noindent\scalebox{3}{\fancytext{This s anothhhher long text which is difficult to read.}}
\end{document}
Then I end up with something like this:
This is rather unpleasant. To improve this text, I would like to
- apply a semi-transparent background, as shown here surrounding the text (but keeping the vivid background otherwise); and
- fix the g-h phenomenon.

Draftstuff vanishes by using\backgroundsetup{contents={}}– Jun 02 '16 at 15:00backgroundis tikz-related picture,transparentinterferes withtikzopacity settings, so loading both can lead to problems – Jun 02 '16 at 15:16\fancytextmacro does not allow linebreaks, perhaps because of limitations of thecontourpackage. – Matsmath Jun 02 '16 at 15:27\fontsize ... \selectfont(see Controlling the spacing between lines with \fontsize{}{}\selectfont, remembering always to end the text with\paror a blank line.) – barbara beeton Jun 02 '16 at 15:31tikz, but thecontourbreaks actually – Jun 02 '16 at 15:34