Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from reportlab.pdfgen import canvas
- from reportlab.platypus import Image
- # ...
- pdf = canvas.Canvas(
- filename,
- bottomup = 0)
- # ...
- logo_image = Image(
- "%s/images/wsp_logo.jpg" % settings.STATIC_ROOT,
- width=200,
- height=200)
- logo_image.drawOn(pdf, 100, 100)
Add Comment
Please, Sign In to add comment