-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ENH: Add
level
parameter to compress_content_streams (#2044)
Provide more options / details on how to reduce the file size with compression. See #1910 ## A small experiment ``` File File name size The suffix is the compression level ------------------- 5321132 GeoTopo.pdf 9959402 out-0.pdf 5976025 out-1.pdf 5914204 out-2.pdf 5885818 out-3.pdf 5816263 out-4.pdf 5762359 out-5.pdf 5738259 out-6.pdf 5731877 out-7.pdf 5726121 out-8.pdf 5725267 out-9.pdf ``` Level 1 gives a very good improvement, but already level 2 might not be worth the CPU cycles. Interestingly, the original is smaller than the best compression
- Loading branch information
1 parent
34b58c8
commit e3707a1
Showing
4 changed files
with
28 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters