-
Notifications
You must be signed in to change notification settings - Fork 1
/
Panel_StarWars.sh
executable file
·35 lines (34 loc) · 1.4 KB
/
Panel_StarWars.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#!/bin/bash
PT_I='/media/chipdelmal/Eunie/StarWars'
PT_O='/media/chipdelmal/Eunie/StarWars/Art'
###############################################################################
# Filenames and titles
###############################################################################
F_NAMES=(
"01_ThePhantomMenace.mp4" "02_AttackOfTheClones.mp4" "03_RevengeOfTheSith.mp4"
"04_ANewHope.mp4" "05_TheEmpireStrikesBack.mp4" "06_ReturnOfTheJedi.mp4"
"07_TheForceAwakens.mp4" "08_TheLastJedi.mp4" "09_TheRiseOfSkywalker.mp4"
)
M_NAMES=(
"I. The Phantom Menace" "II. Attack of the Clones" "III. Revenge of the Sith"
"IV. A New Hope" "V. The Empire Strikes Back" "VI. Return of the Jedi"
"VII. The Force Awakens" "VIII. The Last Jedi" "IX. The Rise of Skywalker"
)
###############################################################################
# Iterate through files
###############################################################################
for idx in "${!F_NAMES[@]}"; do
file=${F_NAMES[$idx]}
title=${M_NAMES[$idx]}
bash fingerprint.sh $PT_I $PT_O "$file" "$title"
done
###############################################################################
# Assemble grid
###############################################################################
image-grid \
--folder "${PT_O}" \
--out "${PT_I}/Panel.png" \
-bs 25 -bc 255 -bsa 25 \
-w 3960 \
--interpolation lanczos \
-y