From feae2da9bdc11437415b684d9d872b7b262c1a6f Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sat, 15 Jul 2023 20:14:59 +0200 Subject: Tools. --- tools/gentextures.sh | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 tools/gentextures.sh (limited to 'tools/gentextures.sh') diff --git a/tools/gentextures.sh b/tools/gentextures.sh new file mode 100644 index 0000000..4caaa9e --- /dev/null +++ b/tools/gentextures.sh @@ -0,0 +1,3 @@ +#!/bin/bash +pngtopnm tools/rock_overlay@2x.png | pnmnorm | pgmtoppm "#606060-#696969" | ppmquant 2 | pnmtopng > background.png +zopflipng -y background.png background.png -- cgit v1.2.3