#29261

There is an API method intended for that:
PD4PageMark.setPageBackgroundImageUrl(String);

[language=java:3csh4kwr]PD4ML pd4ml = new PD4ML();

PD4PageMark mark = new PD4PageMark();
mark.setPageBackgroundImageUrl(“file:images/background.jpeg”);
pd4ml.setPageFooter(mark); // or .setPageHeader(mark)[/language:3csh4kwr]

Make sure HTML document itself does not define an opaque page background.