Closed arcanemachine closed 2 years ago
This sounds almost certain to be a Pillow bug, would you be willing to bisect down to the specific version that introduced it?
Ex tell me 8.2.0 works but 8.3.0 fails.
That is correct: 8.2.0 works but 8.3.0 fails.
Reported upstream to PIL/Pillow. Added a workaround until they fix it.
EDIT: Using Pillow 8.2.0 generates uncorrupted PDFs.
Hello, this program is generating broken PDFs that do not display in any PDF view that I have tried, with the exception of Chrome.
In Linux, the PDF fails to open in Evince, Firefox, and Libreoffice Draw (this one crashes).
On Adroid, the PDF works in an old Google PDF reader app that I use, but fails in Moon Reader.
In all apps that display the PDF without crashing, the PDF looks the same: like a noisy, streaky mess.
I am using Xubuntu 21.04 x64.
I have tried a couple different files with the same result. To show my issues, I have attempted to create a backup of CHANGELOG from the latest commit (currently
926355d85ddd3fb8878da07e5cf464d47fb14569
).Here is a link to the PDF generated: https://filelink.org/kRWFohOf6Lur0RZ Here is an image of how it looks on my computer (on anything other than Chromium) and on Android Moon Reader: https://ibb.co/6J9XGJC
Here are the versions I have installed (via
pip freeze
from a venv):Here is my terminal output from when I created the file: