Skip to content

Instantly share code, notes, and snippets.

View JasonHoku's full-sized avatar

Jason Hoku JasonHoku

View GitHub Profile
@JasonHoku
JasonHoku / a.py
Last active April 25, 2023 22:56
Rename All Image Files In Folder Directory And FFMPEG Input To Convert To Slideshow Gif Or Video - Multithreaded Python Renamer
import os
import threading
import subprocess
# Set the directory containing the PNG files
directory = "C:/path/to/images"
# Set the prefix to use for the renamed files
prefix = "image_"