dhbw-abb-typst-template/baker/run-bake-banner.sh

13 lines
333 B
Bash
Executable File

#!/bin/bash
mkdir images || true
# extract images from document created by action
mutool convert -o images/1.svg "$1" 1
mutool convert -o images/2.svg "$1" 2
mutool convert -o images/3.svg "$1" 5
mutool convert -o images/4.svg "$1" 15
mutool convert -o images/5.svg "$1" 16
typst compile banner.typ --ppi 360 ../assets/banner.png