Add text generation for video thumbnails.
This commit is contained in:
parent
790f3af1a2
commit
72d89c0be9
3 changed files with 41 additions and 0 deletions
|
@ -16,6 +16,9 @@ DEFAULT_IWAD=IWADS.joinpath("DOOM2.WAD")
|
|||
|
||||
THUMB_WIDTH=1280
|
||||
THUMB_HEIGHT=720
|
||||
FONT="League-Spartan-Bold"
|
||||
TEXT_FILL_COLOR="white"
|
||||
TEXT_STROKE_COLOR="srgb(176,0,0)"
|
||||
|
||||
MIRROR="https://youfailit.net/pub/idgames" # NYC
|
||||
|
||||
|
@ -68,6 +71,9 @@ def PwadPath(wad):
|
|||
def BaseThumbPath(wad, mapstr):
|
||||
return Ensure(OUTPUT.joinpath(wad)).joinpath("{}_map{}_base.png".format(wad, mapstr))
|
||||
|
||||
def TextThumbPath(wad, mapstr):
|
||||
return Ensure(OUTPUT.joinpath(wad)).joinpath("{}_map{}_text.png".format(wad, mapstr))
|
||||
|
||||
def VideoPath(wad, mapstr):
|
||||
return Ensure(OUTPUT.joinpath(wad)).joinpath("{}_map{}.mp4".format(wad, mapstr))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue