mirror of
https://github.com/Akascape/Datamosher-Pro.git
synced 2025-12-11 10:49:57 +01:00
Update Datamosher Pro.py
This commit is contained in:
@@ -27,10 +27,7 @@ from DatamoshLib.FFG_effects import basic_modes, external_script
|
|||||||
|
|
||||||
#Resource Finder
|
#Resource Finder
|
||||||
def resource(relative_path):
|
def resource(relative_path):
|
||||||
base_path = getattr(
|
base_path = os.path.dirname(os.path.abspath(__file__)))
|
||||||
sys,
|
|
||||||
'_MEIPASS',
|
|
||||||
os.path.dirname(os.path.abspath(__file__)))
|
|
||||||
return os.path.join(base_path, relative_path)
|
return os.path.join(base_path, relative_path)
|
||||||
|
|
||||||
#Main Window size
|
#Main Window size
|
||||||
@@ -58,7 +55,7 @@ icopath = ImageTk.PhotoImage(file=resource("Assets/Icons/Program_icon.png"))
|
|||||||
root.iconphoto(False, icopath)
|
root.iconphoto(False, icopath)
|
||||||
|
|
||||||
#FFMPEG path (using the imageio ffmpeg plugin)
|
#FFMPEG path (using the imageio ffmpeg plugin)
|
||||||
ffmpeg = resource(imageio_ffmpeg.get_ffmpeg_exe())
|
ffmpeg = imageio_ffmpeg.get_ffmpeg_exe()
|
||||||
|
|
||||||
#Effect List
|
#Effect List
|
||||||
modelist = sorted(["Bloom", "Invert", "Jiggle", "Overlap", "Pulse", "Reverse",
|
modelist = sorted(["Bloom", "Invert", "Jiggle", "Overlap", "Pulse", "Reverse",
|
||||||
|
|||||||
Reference in New Issue
Block a user