summaryrefslogtreecommitdiff
path: root/tools/gentextures.sh
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-07-15 20:14:59 +0200
committerTor Andersson <tor@ccxvii.net>2023-07-16 13:06:00 +0200
commitfeae2da9bdc11437415b684d9d872b7b262c1a6f (patch)
tree6825b4cb8bf147b3c80091f489083673b09914c0 /tools/gentextures.sh
parent8f0a42132a144dc45647416e4fcf92b9edc65d3c (diff)
downloadfield-cloth-gold-feae2da9bdc11437415b684d9d872b7b262c1a6f.tar.gz
Tools.
Diffstat (limited to 'tools/gentextures.sh')
-rw-r--r--tools/gentextures.sh3
1 files changed, 3 insertions, 0 deletions
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