Now it is possible to add coloured backgrounds to the generated PDF, the script will automatically adapt the page number colour and the padding colour. This can be enabled below line 132, the colour can be set there as well.
Furthermore, the user can also add a frame/border to the images if necessary.