I've already created the one ticket in SO Link
I'm not able to execute the --allow command in wkhtmltopdf any suggestion about this?
or did I miss something?
I'm using the wkhtmltopdf for creating HTML to pdf it's working fine but for some additional requirements in the pdf, I have to add the background image/watermark on every page.
I go through this link wkhtmltopdf they mention a few commands below
--allow <path> Allow the file or files from the specified folder to be loaded (repeatable)
--background Do print background (default)
Is there any sequence issue in the below command argument? Here is my command argument.
--page-size A4 --footer-html http://localhost:49955/PDFExport/FooterUrl
--footer-left "Printed On 11/6/2022"
--footer-right "Page [page] of [topage]"
--footer-font-size "7"
--header-spacing 5
--margin-top 5mm
--margin-left 0mm
--margin-right 0mm --outline-depth 4
--background http://localhost:49955/PDFExport/BackgroundURL
--enable-local-file-access --allow "F:\bg-overlay.jpg"
"https://wkhtmltopdf.org/usage/wkhtmltopdf.txt" "F:\TestBackground.pdf"

Here you can see how PDF looks -> OutPut link
I'm not able to perform the below command let me know what I missed in the command.
--background
--enable-local-file-access
--allow