Inserts a background image into the Excel spreadsheet.
This method allows the insertion of a background image into the Excel spreadsheet.
The image can have the following extensions:
- jpg or jpeg
A background image does not behave exactly like a watermark but like a standard HTML background image: it tiles the entire background.
Image file path, base64 or stream.
|If true replaces existing background images. Default as true.
Image doesn't exist.
- phpxlsx 2.5:
- overwrite option renamed to replace.
- stream and base64 as image source.
- phpxlsx 1.0: new method.