-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compressed pdf larger than original? #52
Comments
Please complete with test code, input file and output file |
I cannot provide the input and output files as they contain sensitive personal information. Just try it out with some PDFs on your computer and you'll see that the compress command is broken. |
I am having the same issue with multiple pdf files.
Lockhart_2002_-_A_Mathematician's_Lament.pdf Another example:
Strangely, trying to compress the output of this form reduces the size, although it is still larger than the original:
|
these cases are possible. The compression applies a loss-less compression on streams but some other solution such as building streams of object could reduce size too. However pypdf currently has no capability to build such streams and define a strategy to compress them. |
How is this possible?
The text was updated successfully, but these errors were encountered: