summaryrefslogtreecommitdiff
path: root/tools/sheets
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-08-05 19:09:10 +0200
committerTor Andersson <tor@ccxvii.net>2023-10-01 16:11:21 +0200
commit792f835c67395727bea00620726e39917234e8de (patch)
tree49b2cb26cb676cad8f4d623d2820357ce6aef36f /tools/sheets
parentd366757363ace00d0e95657a89b3660741fdcacc (diff)
downloadwaterloo-campaign-1815-792f835c67395727bea00620726e39917234e8de.tar.gz
TOOLS
Diffstat (limited to 'tools/sheets')
-rw-r--r--tools/sheets/montage.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/sheets/montage.sh b/tools/sheets/montage.sh
index b4c8691..e0460ea 100644
--- a/tools/sheets/montage.sh
+++ b/tools/sheets/montage.sh
@@ -39,6 +39,6 @@ mon1 1x sheet_prussian2_1200.png 30 31 32 38 39 40
for F in sheet_*_1200.png
do
OUT=$(echo $F | sed 's/_1200.png//')
- pngtopnm "$F" | pnmdepth 65535 | pnmgamma -ungamma -srgbramp | pnmscale 0.0625 | pnmgamma -srgbramp | pnmtopng > ${OUT}_75.png
- pngtopnm "$F" | pnmdepth 65535 | pnmgamma -ungamma -srgbramp | pnmscale 0.125 | pnmgamma -srgbramp | pnmtopng > ${OUT}_150.png
+ pngtopnm "$F" | pnmdepth 65535 | pnmgamma -ungamma -srgbramp | pnmscale 0.0625 | pnmgamma -srgbramp | pnmdepth 255 | pnmtopng > ${OUT}_75.png
+ pngtopnm "$F" | pnmdepth 65535 | pnmgamma -ungamma -srgbramp | pnmscale 0.125 | pnmgamma -srgbramp | pnmdepth 255 | pnmtopng > ${OUT}_150.png
done