Skip to content

Commit

Permalink
DOC: Typo in file size docs (#2063)
Browse files Browse the repository at this point in the history
  • Loading branch information
stefan6419846 authored Aug 5, 2023
1 parent c04a6bb commit 156df85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/user/file-size.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ with open("out.pdf", "wb") as f:
```

`page.compress_content_streams` uses [`zlib.compress`](https://docs.python.org/3/library/zlib.html#zlib.compress)
and supports the `level` paramter: `level=0` means no compression,
and supports the `level` parameter: `level=0` means no compression,
`level=9` refers to the highest compression.

Using this method, we have seen a reduction by 70% (from 11.8 MB to 3.5 MB)
Expand Down

0 comments on commit 156df85

Please sign in to comment.