pikepdf is a Python library for reading and writing PDF files via the qpdf library
Questions tagged [pikepdf]
31 questions
-2
votes
1 answer
pikepdf - how to return in memory pdf object from django view
I currently have the following code:
pdf = Pdf.open(f"cover.pdf")
page = pdf.pages[0]
for i, a in enumerate(page.Annots):
print(a.T)
a.V = str(i)
pdf.save("output_test.pdf")
I can't find anywhere online that describes how to return theā¦

James Davis
- 55
- 4