update prints

pull/1296/head
João Victor SDV 3 years ago committed by Simon
parent b6b92adbd5
commit b72e532fa3

@ -237,7 +237,7 @@
placeholder="96" value="{{ data.background_thumbnail_font_size }}">
</div>
</div>
<!-- fazer um seletor de cor e alterar com o valor rgb a variavel -->
<!-- need to create a color picker -->
<div class="row mb-2">
<label for="background_thumbnail_font_color" class="col-4">Background Thumbnail Font Color (rgb)</label>
<div class="col-8">

@ -27,8 +27,6 @@ def create_thumbnail(thumbnail, font_family, font_size, font_color, width, heigh
else:
arrayTitle.append(word)
print("arrayTitle: " + str(arrayTitle))
draw = ImageDraw.Draw(thumbnail)
# loop for put the title in the thumbnail
for i in range(0, len(arrayTitle)):

@ -185,6 +185,7 @@ def make_final_video(
width, height = thumbnail.size
thumbnailSave = create_thumbnail(thumbnail, font_family, font_size, font_color, width, height, title)
thumbnailSave.save(f"./assets/temp/{id}/thumbnail.png")
print_substep("Thumbnail - Building Thumbnail in assets/temp/{id}/thumbnail.png")
# if settings.config["settings"]['background']["background_audio"] and exists(f"assets/backgrounds/background.mp3"):
# audioclip = mpe.AudioFileClip(f"assets/backgrounds/background.mp3").set_duration(final.duration)

Loading…
Cancel
Save