Export figures feature (#70)

This adds a `make export_figures` command which exports all the flow
charts into nicely looking pngs. The command requires that you have
docker running locally.
This commit is contained in:
Hendrik Kleinwaechter
2023-03-30 15:09:56 +02:00
committed by GitHub
parent 36b9c4c7a9
commit e0d5422041
3 changed files with 28 additions and 11 deletions
+8
View File
@@ -0,0 +1,8 @@
#!/bin/bash
for i in *.pdf
do
docker run -v $(pwd):/imgs dpokidov/imagemagick -density 900 -trim /imgs/$i -quality 100 /imgs/$i.png
rename 's/pdf.png/png/' *.png
rename 's/fig-/figure-/' *.png
done