A new auto-image is available that will download an image from the internet, you just need to include the base64 encoded url in the include graphics command
9 lines
164 B
Bash
Executable file
9 lines
164 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
name="$1"
|
|
basename="$(basename "$name")"
|
|
b64="${basename%%.*}"
|
|
b64="${b64##*-}"
|
|
url="$(echo -n "$b64" | base64 -d)"
|
|
curl -L -o "$name" "$url"
|
|
|