From 685f310124906a6c9f9f74517c0e0e009be014dc Mon Sep 17 00:00:00 2001 From: Edouard Belval Date: Mon, 10 Feb 2020 16:45:21 -0500 Subject: [PATCH] Version 1.12.0 --- README.md | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 76bab86..95f27a7 100644 --- a/README.md +++ b/README.md @@ -72,6 +72,7 @@ Use the [mattermost chat](https://mattermost.belval.org/signup_user_complete/?id ## What's new? +- Fixed a bug where using `pdf2image` with multiple threads (but not multiple processes) would cause and exception - `jpegopt` parameter allows for tuning of the output JPEG when using `fmt="jpeg"` (`-jpegopt` in pdftoppm CLI) (Thank you @abieler) - `pdfinfo_from_path` and `pdfinfo_from_bytes` which expose the output of the pdfinfo CLI - `paths_only` parameter will return image paths instead of Image objects, to prevent OOM when converting a big PDF @@ -83,7 +84,6 @@ Use the [mattermost chat](https://mattermost.belval.org/signup_user_complete/?id - `single_file` parameter allows you to convert the first PDF page only, without adding digits at the end of the `output_file` - Allow the user to specify poppler's installation path with `poppler_path` - Fixed a bug where PNGs buffer with a non-terminating I-E-N-D sequence would throw an exception -- Fixed a bug that left open file descriptors when using `convert_from_bytes()` (Thank you @FabianUken) ## Performance tips diff --git a/setup.py b/setup.py index 46d97fd..3a7d2c4 100644 --- a/setup.py +++ b/setup.py @@ -12,7 +12,7 @@ setup( name="pdf2image", - version="1.11.0", + version="1.12.0", description="A wrapper around the pdftoppm and pdftocairo command line tools to convert PDF to a PIL Image list.", long_description=long_description, long_description_content_type="text/markdown",