This commit is contained in:
7
misc/ci/Dockerfile
Normal file
7
misc/ci/Dockerfile
Normal file
@ -0,0 +1,7 @@
|
||||
FROM alpine:3.21
|
||||
|
||||
RUN apk add nodejs npm jq bash curl ca-certificates python3 build-base
|
||||
|
||||
RUN npm install -g xml2json
|
||||
|
||||
SHELL ["/bin/bash"]
|
9
misc/script/resize-illustrations.sh
Executable file
9
misc/script/resize-illustrations.sh
Executable file
@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
|
||||
FILES=$(find illustrations -maxdepth 2 -name '*.jpg' -printf '%p ')
|
||||
|
||||
for f in $FILES; do
|
||||
small_dir=$(dirname $f)/small
|
||||
mkdir -p "$small_dir"
|
||||
magick convert -resize 75% "$f" "$small_dir/$(basename $f)"
|
||||
done
|
Reference in New Issue
Block a user