pypdf icon indicating copy to clipboard operation
pypdf copied to clipboard

A pure-python PDF library capable of splitting, merging, cropping, and transforming the pages of PDF files

Results 217 pypdf issues
Sort by recently updated
recently updated
newest added

I am using the following code to update the form fields with a dictionary: ```python from PyPDF2 import PdfFileReader, PdfFileWriter reader = PdfFileReader(open("template_acrobat.pdf", "rb"), strict=False) writer = PdfFileWriter() writer.appendPagesFromReader(reader) writer.updatePageFormFieldValues(writer.pages[0],...

is-bug
Has MCVE
workflow-forms

Hey, https://s3.ap-south-1.amazonaws.com/public-sharing-purpose/aoc_gooded_tech.pdf I have been trying since a long time to read the data inside this PDF with any python library. Somehow I landed here. I tried opening this PDF...

is-bug
workflow-forms

Hi I am trying to extract details from publications pdfs using getDocumentInfo(). ```python from PyPDF2 import PdfFileReader f1 = PdfFileReader(open("./zac2343.pdf", "rb")) f1.getDocumentInfo() ``` However, I am getting most of the...

is-bug
PdfReader
Has MCVE

## MCVE: Code + PDF PDF Document: [`simple1.pdf`](https://github.com/pdfminer/pdfminer.six/blob/master/samples/simple1.pdf) ```python from PyPDF2 import PdfReader reader = PdfReader("simple1.pdf") ``` ## Traceback ``` Traceback (most recent call last): File "/home/moose/Github/py-pdf/PyPDF2/PyPDF2/_reader.py", line 1307, in...

is-robustness-issue
Has MCVE

Rotating a page, e.g., using `page.RotateClockwise()` only updates the `/Rotate` attribute: ```python def rotateClockwise(self, angle): """ Rotates a page clockwise by increments of 90 degrees. :param int angle: Angle to...

is-feature

Use PdfMerger with a single PDF/A compliant document I would expect almost exactly the same output file as the input file. But it's way different - and PDF/A compliance is...

is-bug
PdfMerger
is-pdf/a-compliance

When using the updatePageFormFieldValues to input data to PDF forms, the new data can not be seen when the PDF is opened with acrobat reader (other PDF readers work fine)....

is-bug
workflow-forms

My task is to find and replace the text in pdf, I used pyPDF2 package to replace the text, but when I try to replace I'm receiving an error like...

is-bug
is-feature

Trying to save a bookmarked pdf, but is failing to save with the error "Invalid Elementary Object starting with b'C'". Code is taking in a pdf and a list of...

Since some versions of PyPDF2, the pdf documents that I split and regenerate are loosing PDF/A confirmation (checked with https://avepdf.com/pdfa-validation). Those documents are not accepted by certain applications that check...

is-pdf/a-compliance