We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In the rendered PDF images are not loaded.
here is main.py
main.py
import pydf html_str = """ <html lang="en"> <head> <meta charset="UTF-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta name="viewport" content="width=device-width,initial-scale=1" /> <title>بن اعتباری</title> </head> <body> <img src="./pizza.jpg" /> </body> </html> """ pdf = pydf.generate_pdf(html_str) with open("test_doc.pdf", "wb") as f: f.write(pdf)
and image exists in that directory and everything is fine in html file
The text was updated successfully, but these errors were encountered:
@mojixcoder I think this will probably answer your question! wkhtmltopdf/wkhtmltopdf#4723
Sorry, something went wrong.
No branches or pull requests
In the rendered PDF images are not loaded.
here is
main.py
and image exists in that directory and everything is fine in html file
The text was updated successfully, but these errors were encountered: