orent
5ca060d4cd
Merge 96b9f04e38 into 644bbe7c6d
2021-09-30 11:11:57 +00:00
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
644bbe7c6d
Bump version and update HISTORY.md
2021-07-11 23:37:18 +05:30
Vinayak Mehta
1b4aa114e3
Change setup extra from cv to base
2021-07-11 23:35:13 +05:30
Vinayak Mehta
552846ca2a
Merge pull request #254 from camelot-dev/change-get-backend
...
Change get backend method for Lattice and run tests
2021-07-11 23:22:17 +05:30
Vinayak Mehta
1afe429034
Change get backend method for Lattice and run tests
2021-07-11 23:12:20 +05:30
Vinayak Mehta
8abd69fc24
Update HISTORY.md
2021-07-11 23:09:38 +05:30
Vinayak Mehta
4058311831
Fix status badge
2021-07-11 23:07:06 +05:30
Vinayak Mehta
cc820b9e5d
Add test for page list generation and fix backend kwarg
2021-07-11 22:47:01 +05:30
Vinayak Mehta
8650f25331
Format code using black
2021-07-11 19:33:02 +05:30
Vinayak Mehta
760d9eda47
Update docs
2021-07-11 19:31:51 +05:30
Vinayak Mehta
3c04842d97
Merge pull request #253 from camelot-dev/make-gs-default-backend
...
Make ghostscript default backend and add support for string keyword arguments
2021-07-11 19:31:03 +05:30
Vinayak Mehta
02f53e7654
Warn instead of raise, fix imports, and use skipif instead of skip
2021-07-11 19:15:36 +05:30
Vinayak Mehta
f160c1d44d
Raise ghostscript deprecation warning and skip ghostscript tests on windows
2021-07-11 18:55:56 +05:30
Vinayak Mehta
793ddaf42f
Update HISTORY.md
2021-07-11 17:28:24 +05:30
Vinayak Mehta
8abe02528b
Make ghostscript default backend and add support for string keywords
2021-07-11 17:25:56 +05:30
Vinayak Mehta
f43235934b
Bump version and update docs
2021-07-07 04:29:23 +05:30
Vinayak Mehta
d39ca4502b
Merge pull request #246 from camelot-dev/use-explicit-backends
...
Use PopplerBackend and GhostscriptBackend in test_plotting.py
2021-07-06 03:06:50 +05:30
Vinayak Mehta
1dc8f4e241
Use PopplerBackend and GhostscriptBackend in test_plotting.py
2021-07-06 02:58:41 +05:30
Vinayak Mehta
2aa982b51d
Merge pull request #198 from camelot-dev/add-pdftopng
...
Add pdftopng and use ghostscript as fallback
2021-07-05 05:22:21 +05:30
Vinayak Mehta
e9c0f55690
Test image_conversion.py
2021-07-05 05:12:43 +05:30
Vinayak Mehta
65b4ea623c
Update pdftopng version
2021-07-05 04:35:14 +05:30
Vinayak Mehta
458181cd1d
Don't use fallback for image conversion backend tests
2021-07-04 20:22:32 +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
4628be9251
Skip ghostscript tests on windows
2021-07-04 19:51:01 +05:30
Vinayak Mehta
4c78dadd55
Skip ghostscript tests on windows
2021-07-04 19:40:53 +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
ff7260a228
Add separate tests for poppler and ghostscript
2021-07-04 19:02:26 +05:30
Vinayak Mehta
4dd1e7fb15
Call pdftopng in subprocess
2021-07-04 18:52:38 +05:30
Vinayak Mehta
4c32c45534
Reorder tests
2021-07-04 05:33:23 +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
57034b88b0
Update .gitignore
2021-06-28 03:20:06 +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
4cebd684ba
Remove ext.ghostscript
2021-06-28 02:06:16 +05:30
Vinayak Mehta
8563a09544
Add image conversion backends
2021-06-28 01:58:45 +05:30
Vinayak Mehta
fdade4502e
Fix pdftopng usage
...
Delete cache
2021-06-28 01:10:16 +05:30
Vinayak Mehta
286b2d6a1c
Bump pdftopng version
2021-06-28 00:47:38 +05:30
Vinayak Mehta
57a26fabcb
Add pdftopng
2021-06-28 00:47:05 +05:30
Vinayak Mehta
715e8a9769
Update index.rst
2021-06-28 00:45:14 +05:30
Vinayak Mehta
4eba7b6486
Update docs
2021-06-28 00:42:05 +05:30
Vinayak Mehta
56efcaa925
Merge pull request #222 from Lucas-C/format-markdown
...
New export format: markdown
2021-06-28 00:35:56 +05:30
Vinayak Mehta
acb8f005c2
Merge branch 'master' into format-markdown
2021-06-28 00:32:00 +05:30
Vinayak Mehta
216ec3c90b
Add faq
2021-06-28 00:28:35 +05:30
Vinayak Mehta
3d1c16ca3f
Update README and HISTORY
2021-06-28 00:26:09 +05:30
Vinayak Mehta
335a86bbb2
Merge pull request #216 from anakin87/master
...
Add faq section
2021-06-28 00:19:39 +05:30
Vinayak Mehta
1f54108f11
Update dev deps
2021-06-28 00:17:04 +05:30