freelawproject / doctor

A microservice for document conversion at scale
https://free.law/projects/doctor
BSD 2-Clause "Simplified" License
54 stars 14 forks source link

build(deps): bump pdf2image from 1.7.1 to 1.16.0 #101

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 3 years ago

Bumps pdf2image from 1.7.1 to 1.16.0.

Release notes

Sourced from pdf2image's releases.

Version 1.16.0

Version 1.15 was never tagged but was released on PyPI.

  • Add hide_annotations flag to remove the default green "highlighting" of links in PDF

Version 1.14.0

  • Add timeout parameter for all functions which will kill the underlying process after a given time.
  • Add rawdates parameter which does not attempt to parse the date output from pdfinfo.

Version 1.13.1

  • Fix convert_from_bytes not having use_pdftocairo.

Version 1.13.0

DEPRECATED PLEASE USE 1.13.1

  • Add use_pdftocairo parameter which forces pdf2image to use pdftocairo when rasterizing the PDF. This seems to lead to an improved performance when dealing with large and complex PDF.

Version 1.12.1

  • Fixes version 1.12.0 on Windows
  • Version 1.12.0 will no longer be available on PyPI

Version 1.12.0 (REMOVED)

  • Fix an exception that would occur whenever convert_from_path was used with multiple threads (but not multiple processes).

This version was removed of PyPI as of 2020-02-17 since it introduces a deadlock on Windows

Version 1.11.0

  • Add jpegopt option for finer control on output images quality when using fmt='jpeg' (Thank you @​abieler)
  • Add public functions pdfinfo_from_path and pdfinfo_from_bytes which return a dictionary containing the parsed output of pdfinfo

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 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

  • Drop support for python 2.7
  • Add generator for file names
  • Add support for pathlib.Path objects
Commits
  • dc024b8 Version 1.16.0
  • cd08664 Add support for hide-annotations flag
  • 70eeb68 Version 1.15.1
  • 62d279a Fix console showing on Windows
  • 166065a Version 1.15.0
  • e50eb87 Fix version detection (#187)
  • 511ceab Added a check to see if the first_page is less than one and if so, set it to 1
  • 1d9532b Use environment variable PROFILE_MEMORY
  • 48c3cc0 Add poppler_path to pdfinfo_from_path from pdfinfo_from_bytes
  • 0552f41 Version 1.14.0
  • Additional commits viewable in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
dependabot[bot] commented 2 years ago

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.