You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@santhosh-sankaran reported in discussion #2728 that pdf compressed with PyPDF2 are smaller than the one generated by pypdf
After analysis, it has been observed that PyPDF2 was keeping a single copy of similar objects even if the original copy of the document has many copies of the objects (referenced by different indirect objects).
pypdf keeps the same objects as the original document.
a new function can be proposed to use a single copy of the objects.
@santhosh-sankaran reported in discussion #2728 that pdf compressed with PyPDF2 are smaller than the one generated by pypdf
After analysis, it has been observed that PyPDF2 was keeping a single copy of similar objects even if the original copy of the document has many copies of the objects (referenced by different indirect objects).
pypdf keeps the same objects as the original document.
a new function can be proposed to use a single copy of the objects.
example of source pdf:
Generated_wean_first_20_pages.pdf
this file size could be reduced by more than 50%
The text was updated successfully, but these errors were encountered: