diff options
author | Sebastien Douheret <sebastien.douheret@iot.bzh> | 2017-03-20 14:52:23 +0100 |
---|---|---|
committer | Sebastien Douheret <sebastien.douheret@iot.bzh> | 2017-03-20 14:52:34 +0100 |
commit | e2d3b306a08bb536209f9a101315ad036186fe4c (patch) | |
tree | e75cff439f74dbff924932c87cbae883434ff454 /docs/resources/make_cover.sh | |
parent | 5620d308897249ad24dc44a93e0ad776cff37da2 (diff) |
Add documentation cover
Diffstat (limited to 'docs/resources/make_cover.sh')
-rwxr-xr-x | docs/resources/make_cover.sh | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/docs/resources/make_cover.sh b/docs/resources/make_cover.sh new file mode 100755 index 00000000..6494bd4c --- /dev/null +++ b/docs/resources/make_cover.sh @@ -0,0 +1,14 @@ +#!/bin/bash + +cat cover.svg | sed -e 's/{title}/Low level CAN binder/' \ + -e 's/font-size:87.5px/font-size:50px/g' \ + -e 's/{subtitle}//g' \ + -e 's/{version}/Version 1.0/g' \ + -e 's/{date}/March 2017/g' \ + > /tmp/cover.svg + +inkscape --without-gui --export-png=../cover.jpg \ + --export-background="#ffffff" -w 1800 -h 2360 /tmp/cover.svg + +inkscape --without-gui --export-png=../cover_small.jpg \ + --export-background="#ffffff" -w 200 -h 262 /tmp/cover.svg
\ No newline at end of file |