Page merging broken since #1371 #1601
Labels
help wanted
We appreciate help everywhere - this one might be an easy start!
is-bug
From a users perspective, this is a bug - a violation of the expected behavior with a compliant PDF
workflow-merge
From a users perspective, merging is the affected feature/workflow
We are using PyPDF to implement a "n-up" feature in our application. With the upgrade from PyPDF 2.12.x to PyPDF 3.x, this broke. We are now only getting white pages as the output.
Environment
$ python -m platform Linux-6.0.9-arch1-1-x86_64-with-glibc2.36 $ python -c "import pypdf;print(pypdf.__version__)" 3.3.0
Code + PDF
Our actual source code is here:
https://github.com/pretix/pretix/blob/79ee89bde91293e22c314c436ac095b3c9b811c5/src/pretix/plugins/badges/exporters.py#L218-L242
This is a minimal, complete example that shows the issue:
pypdf2.pdf will look the same as badges-38.pdf. pypdf3.pdf is completely white. The only difference is the PyPDF version.
It does not seem to be dependent on the input file, but alas, here's one I used:
badges-38.pdf
The text was updated successfully, but these errors were encountered: