diff options
author | Tor Andersson <tor@ccxvii.net> | 2024-06-09 00:14:58 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-08-21 00:28:20 +0200 |
commit | 65bf03743ebe59086f2729d7fdbd840e13cef353 (patch) | |
tree | 895e87ccfe17730ccd890391cca27ce4db7da799 /tools | |
parent | 4db95103d634a1fffcce2cea99243a958bcebba4 (diff) | |
download | washingtons-war-65bf03743ebe59086f2729d7fdbd840e13cef353.tar.gz |
slice
Diffstat (limited to 'tools')
-rw-r--r-- | tools/crop-markers.sh | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/tools/crop-markers.sh b/tools/crop-markers.sh new file mode 100644 index 0000000..516f5b5 --- /dev/null +++ b/tools/crop-markers.sh @@ -0,0 +1,69 @@ +function tiny { + convert -gravity center -crop 180x180+0+0 +repage tools/markers.raw/$1.ppm markers.4x/$1.png +} + +function square { + convert -gravity center -crop 220x220+0+0 +repage tools/markers.raw/$1.ppm markers.4x/$1.png +} + + +function tall { + convert -gravity center -crop 256x520+0+0 +repage tools/markers.raw/$1.ppm markers.4x/$1.png +} + +function round { + convert -gravity center -crop 240x240+0+0 +repage tools/markers.raw/$1.ppm markers.4x/$1.png +} + +function hex { + convert -gravity center -crop 232x264+0+0 +repage tools/markers.raw/$1.ppm markers.4x/$1.png +} + +tiny colony_american +tiny colony_british + +tiny general_arnold +tiny general_burgoyne +tiny general_carleton +tiny general_clinton +tiny general_cornwallis +tiny general_gates +tiny general_greene +tiny general_howe +tiny general_lafayette +tiny general_lee +tiny general_lincoln +tiny general_rochambeau +tiny general_washington + +square continental_congress +square european_war +square french_alliance +square french_navy +square game_turn_no_regulars +square game_turn_regulars + +round cu_american +round cu_british +round cu_french + +hex pc_american +hex pc_british +hex queue_american +hex queue_british + +tall french_navy_tall +tall general_arnold_tall +tall general_burgoyne_tall +tall general_carleton_tall +tall general_clinton_tall +tall general_cornwallis_tall +tall general_gates_tall +tall general_greene_tall +tall general_howe_tall +tall general_lafayette_tall +tall general_lee_tall +tall general_lincoln_tall +tall general_rochambeau_tall +tall general_washington_tall + |