From ff818836dd2221c544afe1fcc17369b17f90b0db Mon Sep 17 00:00:00 2001 From: tassaron Date: Thu, 18 May 2017 19:14:27 -0400 Subject: added ability to use an mp4 as the background might not be the best way to do this (dumping all the video frames to a temp location), but it works for clips of a few minutes or less --- preview_thread.py | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'preview_thread.py') diff --git a/preview_thread.py b/preview_thread.py index 9dc7e4c..5bad653 100644 --- a/preview_thread.py +++ b/preview_thread.py @@ -43,8 +43,17 @@ class Worker(QtCore.QObject): except Empty: continue + bgImage = self.core.parseBaseImage(\ + nextPreviewInformation["backgroundImage"], + preview=True + ) + if bgImage == []: + bgImage = '' + else: + bgImage = bgImage[0] + im = self.core.drawBaseImage( - nextPreviewInformation["backgroundImage"], + bgImage, nextPreviewInformation["titleText"], nextPreviewInformation["titleFont"], nextPreviewInformation["fontSize"], -- cgit v1.2.3 ody>
aboutsummaryrefslogtreecommitdiffstats
path: root/src/components (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-05-05show every frame of preview during exporttassaron1-5/+1
2022-05-05remove Python threads from video export processtassaron1-106/+55
2022-05-05fix broken link. move commandline info lowertassaron1-20/+10
2022-05-05add more links to wikitassaron1-2/+3
2022-05-05shrink screenshot slightly, add alt/tite texttassaron1-2/+3
2022-05-05new readme with screenshottassaron2-35/+45
2022-05-03change version numbertassaron1-1/+1