Make ghostscript default backend and add support for string keywords

This commit is contained in:
Vinayak Mehta
2021-07-11 17:25:56 +05:30
parent f43235934b
commit 8abe02528b
8 changed files with 135 additions and 92 deletions
+2 -5
View File
@@ -644,8 +644,5 @@ When using the :ref:`Lattice <lattice>` flavor, Camelot uses `pdftopng <https://
In case you want to be explicit about the image conversion backend that Camelot should use, you can supply them like this::
>>> from camelot.backends.poppler_backend import PopplerBackend
>>> from camelot.backends.ghostscript_backend import GhostscriptBackend
>>>
>>> tables = camelot.read_pdf(filename, backend=PopplerBackend())
>>> tables = camelot.read_pdf(filename, backend=GhostscriptBackend())
>>> tables = camelot.read_pdf(filename, backend="poppler")
>>> tables = camelot.read_pdf(filename, backend="ghostscript")