pdf.image module 'PIL.Image' has no attribute 'Resampling' #454
sufyanAshraf
started this conversation in
General
Replies: 1 comment
-
It's very likely that you need to upgrade your version of Pillow: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
pdf = FPDF()
pdf.add_page()
pdf.set_font("Times", 'B', size=20)
pdf.cell(0, 10,"Report", ln=1, align='C')
pdf.set_font("Times", size=10)
pdf.image(image_url, 10, 8, 33) # error here
Beta Was this translation helpful? Give feedback.
All reactions