diff options
author | Holden Rohrer <hr@hrhr.dev> | 2021-01-21 13:02:27 -0500 |
---|---|---|
committer | Holden Rohrer <hr@hrhr.dev> | 2021-01-21 13:14:55 -0500 |
commit | 27dedabde3d8b996e3c841864827f81ea206c43c (patch) | |
tree | 0c3f5ee5bf528645d9a9b881c1baa7587a57d3b6 | |
parent | 47c60afd25e0919170f1b1a931d05c25896678b3 (diff) |
automated rotation process
-rw-r--r-- | .gitignore | 2 | ||||
-rw-r--r-- | Makefile | 11 | ||||
-rw-r--r-- | img/2019-12-13-3.rot.jpg | bin | 99006 -> 0 bytes |
3 files changed, 11 insertions, 2 deletions
@@ -6,3 +6,5 @@ imgs/ graph/ py/__pycache__/ *.DS_Store +img/*.rot.jpg +img/rot @@ -12,7 +12,8 @@ all: $(PDF) TABLE = gen/deathtable.i gen/deathtable2.i gen/table.i gen/pvals.i clean: - rm -rf {report,poster,logbook}{,2}.{pdf,log} qr gen graph imgs + rm -rf {report,poster,logbook}{,2}.{pdf,log} qr gen graph imgs \ + img/rot img/*.rot.jpg .tex.pdf: $(PDFTEX) -jobname $* $< @@ -52,7 +53,7 @@ graph/nearest_neighbor.png report/tables.i src/conc2.i src/bullets.i report.pdf logbook.pdf: img/2019-10-30-1.jpg img/2019-11-21-1.jpg \ img/2019-11-21-2.jpg img/2019-11-21-3.jpg img/2019-12-02-1.jpg src/conc.i \ -img/2019-12-13-1.jpg img/2019-12-13-3.rot.jpg fmt/doc.h report/tables.i +img/2019-12-13-1.jpg img/rot fmt/doc.h report/tables.i poster2.pdf: imgs @@ -107,3 +108,9 @@ graph/boxplot.png: py/data2.py py/lineplot.py graph/dir graph/lineplot.png: py/data2.py py/boxplot.py graph/dir $(PY) py/lineplot.py mv lineplot.png graph/ + +img/rot: + for img in img/*; do \ + magick "$${img}" -rotate 90 "$$(echo "$$img" | cut -f 1 -d '.').rot.jpg"; \ + echo $${img}; done + touch img/rot diff --git a/img/2019-12-13-3.rot.jpg b/img/2019-12-13-3.rot.jpg Binary files differdeleted file mode 100644 index d0fd0d8..0000000 --- a/img/2019-12-13-3.rot.jpg +++ /dev/null |