Releases: Belval/pdf2image
Releases · Belval/pdf2image
Version 1.10.0
- Add
paths_only=False
parameters, which returns images paths instead of image objects when set to true
Version 1.9.0
- Add
size=None
parameter which uses either-scale-to
,-scale-to-x
or-scale-to-y
in pdftoppm or pdftocairosize=400
fits the image to a 400x400 pixels box, preserving aspect ratiosize=(400, None)
makes the image 400 pixels wide, preserving aspect ratiosize=(None, 400)
makes the image 400 pixels high, preserving aspect ratiosize=(400, 400)
makes the image 400 pixels by 400 pixels, not preserving aspect ratio
Version 1.8.0
- Drop support for python 2.7
- Add generator for file names
- Add support for
pathlib.Path
objects
Version 1.7.1
- Use Black code formatting in source
Version 1.7.0
- Add
grayscale
parameter which allows you to convert images to grayscale
Version 1.6.0
- Add
single_page
parameter which allows you to convert the first PDF page only, without adding digits at the end of theoutput_file
- Fix simplistic name matching that would sometime fail when
output_file
was contained in the name of another file or directory of theoutput_folder
Version 1.5.4
- Fix
first_page
greater thanlast_page
throwing error. From now on it will return an empty list
Version 1.5.3
- Minor bugfix for
poppler_path
which would not find libpoppler on Linux.