Skip to content

Releases: Belval/pdf2image

Version 1.10.0

04 Nov 14:16
Compare
Choose a tag to compare
  • Add paths_only=False parameters, which returns images paths instead of image objects when set to true

Version 1.9.0

21 Sep 14:36
Compare
Choose a tag to compare
  • Add size=None parameter which uses either -scale-to, -scale-to-x or -scale-to-y in pdftoppm or pdftocairo
    • size=400 fits the image to a 400x400 pixels box, preserving aspect ratio
    • size=(400, None) makes the image 400 pixels wide, preserving aspect ratio
    • size=(None, 400) makes the image 400 pixels high, preserving aspect ratio
    • size=(400, 400) makes the image 400 pixels by 400 pixels, not preserving aspect ratio

Version 1.8.0

15 Sep 01:13
Compare
Choose a tag to compare
  • Drop support for python 2.7
  • Add generator for file names
  • Add support for pathlib.Path objects

Version 1.7.1

03 Sep 18:18
Compare
Choose a tag to compare
  • Use Black code formatting in source

Version 1.7.0

27 Aug 20:30
Compare
Choose a tag to compare
  • Add grayscale parameter which allows you to convert images to grayscale

Version 1.6.0

03 Jul 23:39
Compare
Choose a tag to compare
  • Add single_page parameter which allows you to convert the first PDF page only, without adding digits at the end of the output_file
  • Fix simplistic name matching that would sometime fail when output_file was contained in the name of another file or directory of the output_folder

Version 1.5.4

30 Apr 00:58
48ea7ac
Compare
Choose a tag to compare
  • Fix first_page greater than last_page throwing error. From now on it will return an empty list

Version 1.5.3

28 Apr 00:08
Compare
Choose a tag to compare
  • Minor bugfix for poppler_path which would not find libpoppler on Linux.