Add support for the background tag: html - CSS color vs. background-color vs. background? - Stack Overflow
The background property might contain an actual image (it is not locked to color values).
The image in the header is not exported to pdf.
Workaround: Use version R1 2022 where this is working.