diff options
-rwxr-xr-x | publish | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -20,11 +20,14 @@ chmod 755 ${TEMP}; ## # .psd --> .jpg ONLY in 'src/' # +docker run -v$(pwd):/x -w/x --rm -i alpine:3.14 <<'EOF' +apk add imagemagick; find ${HERE} -type f -name "*.psd" | while read k; do f="${k#*${HERE}}"; mkdir -p "${TEMP}${f%/*}"; convert "${k}[0]" -strip "${TEMP}${f%*.psd}.jpg"; done +EOF ## # template injection |