Skip to content
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

DOC: remove hyphen from lossless #1041

Merged
merged 1 commit into from
Jun 29, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/user/file-size.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ with open("out.pdf", "wb") as f:
writer.write(f)
```

## Loss-less Compression
## Lossless Compression

PyPDF2 supports the FlateDecode filter which uses the zlib/deflate compression
method. It is a loss-less compression, meaning the resulting PDF looks exactly
method. It is a lossless compression, meaning the resulting PDF looks exactly
the same.

Deflate compression can be applied to a page via [`page.compress_content_streams`](https://pypdf2.readthedocs.io/en/latest/modules/PageObject.html#PyPDF2._page.PageObject.compress_content_streams):
Expand Down