-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
imagecaster.yml
executable file
·60 lines (60 loc) · 2.02 KB
/
imagecaster.yml
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
build:
input:
- "src/static/"
metadata:
exif:
- {tag: "OwnerName", value: "Falco's Tea Party"}
- {tag: "Artist", value: "Moriko, DefectiveFox, Vukory, and Contributors"}
- {tag: "Copyright", value: "https://gitlab.com/SethFalco/red-panda-emotes/blob/main/LICENSE"}
- {tag: "ImageDescription", value: "The ${DATA_NAME} emote from the Red Panda Emotes."}
iptc:
- {tag: "Source", value: "Falco's Tea Party"}
- {tag: "Contact", value: "https://gitlab.com/SethFalco/red-panda-emotes"}
- {tag: "CopyrightNotice", value: "https://gitlab.com/SethFalco/red-panda-emotes/blob/main/LICENSE"}
- {tag: "Headline", value: "The ${DATA_NAME} emote from the Red Panda Emotes."}
- {tag: "Keyword", value: "emote"}
resize:
filter: "Catrom"
geometries: [512, 256, 128, 112, 72, 64, 56, 36, 28]
recolor:
mask:
pattern: "$1.mask.png"
sources:
- "src/masks/"
modulation:
- {name: "blue", hue: 0}
- {name: "green", hue: 166}
- {name: "pink", hue: 66.6}
- {name: "red", hue: 82}
- {name: "violet", saturation: 70, hue: 50}
- {name: "white", brightness: 200, saturation: 0}
- {name: "yellow", saturation: 115, hue: 115}
montages:
- name: "colors"
source: "regex:build/export/(?:.+)/128x/.?pandaAww\\.png"
- name: "emotes"
source: "build/export/original/128x/"
checks:
power-of-two:
- source: "src/masks/"
- source: "src/static/"
resolution-matches:
- source: "regex:src/masks/(.+?)\\..+"
target: "src/static/"
pattern: "$1.png"
file-exists:
- source: "src/projects/"
target: "src/static/"
patterns:
- "$1.png"
- source: "regex:src/masks/(.+?)\\..+"
target: "src/static/"
patterns:
- "$1.png"
naming-convention:
- source: "src/static/"
pattern: "^panda[A-Z][A-Za-z\\d]+\\.png$"
- source: "src/masks/"
pattern: "^panda[A-Z][A-Za-z\\d]+\\.mask\\.png$"
- source: "src/projects/"
pattern: "^panda[A-Z][A-Za-z\\d]+\\.ora$"