add heif/heic support

Signed-off-by: Vladimir Mandic <mandic00@live.com>
This commit is contained in:
Vladimir Mandic
2026-08-26 10:24:17 +02:00
parent 0fde1f4dae
commit acb4e758d3
18 changed files with 153 additions and 21 deletions
+1 -1
View File
@@ -112,7 +112,7 @@ def cleanup_tmpdr():
for name in files:
try:
_, extension = os.path.splitext(name)
if extension not in {".png", ".jpg", ".webp", ".jxl"}:
if extension not in {".png", ".jpg", ".webp", ".jxl", ".heic", ".heif", ".mp4", ".webm"}:
continue
filename = os.path.join(root, name)
os.remove(filename)