Commit Graph

12 Commits (5ca060d4cd25ac720ee02d4d55ce79b9d32d88b3)

Author SHA1 Message Date
orent 96b9f04e38
Call pdftopng in python instead of subprocess
Using the poppler backed failed for me because I was running it from an un-activated venv and pdftopng was not in the PATH.

My original workaround was even shorter - I imported the convert function directly into the PopplerBackend class. But this import will fail on initialization if pdftopng is not installed and will prevent using the ghostscript backend, so I converted it to late import.
2021-09-30 14:10:30 +03:00
Vinayak Mehta 8abe02528b
Make ghostscript default backend and add support for string keywords 2021-07-11 17:25:56 +05:30
Vinayak Mehta c3b0fa30dc
Remove logger.info and use shutil.which to find pdftopng executable 2021-07-04 20:02:47 +05:30
Vinayak Mehta e76a7a7c26
Delay ghostscript import 2021-07-04 19:27:29 +05:30
Vinayak Mehta 0c20cb0be8
Update gh workflow and remove logging 2021-07-04 19:21:50 +05:30
Vinayak Mehta 4dd1e7fb15
Call pdftopng in subprocess 2021-07-04 18:52:38 +05:30
Vinayak Mehta 36dcfe99d8
Split tests for lattice and stream, and fix test_common reprs 2021-06-28 05:32:48 +05:30
Vinayak Mehta 3ddc02b2f2
Fix fallback key 2021-06-28 03:24:15 +05:30
Vinayak Mehta 0c5aff60b4
Remove newline
Delete cache
2021-06-28 03:19:35 +05:30
Vinayak Mehta 3e4e848a09
Add fallbacks to image conversion 2021-06-28 03:16:54 +05:30
Vinayak Mehta a96702987f
Raise error if ghostscript not installed 2021-06-28 02:20:44 +05:30
Vinayak Mehta 8563a09544
Add image conversion backends 2021-06-28 01:58:45 +05:30