From 156df859480366f7f61bbff8b7dd0848f501bf70 Mon Sep 17 00:00:00 2001 From: Stefan <96178532+stefan6419846@users.noreply.github.com> Date: Sat, 5 Aug 2023 12:14:31 +0200 Subject: [PATCH] DOC: Typo in file size docs (#2063) --- docs/user/file-size.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/user/file-size.md b/docs/user/file-size.md index af9e40182..07b5614a9 100644 --- a/docs/user/file-size.md +++ b/docs/user/file-size.md @@ -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)