If you only need it for the html export I would go for a personalized style sheet
To set style sheet (css), you can set the header in the SimpleHtmlExporterConfiguration
, that is passed to the HtmlExporter
Example
HtmlExporter htmlExporter = new HtmlExporter();
.. set print and and output.
SimpleHtmlExporterConfiguration config = new SimpleHtmlExporterConfiguration();
config.setHtmlHeader("<html><head><title>Your title</title><link rel=\"stylesheet\" type=\"text/css\" href=\"css/my.css\" /></head><body>");
htmlExporter.setConfiguration(config);
For the css to stretch the background image see:
How do I stretch a background image to cover the entire HTML element?
css, example copied from this answer
html {
background: url('images/yourimage.jpg') no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}
Naturally, you can do without external css and just included it directly in header