Update the project to run with modern uv/bun (or python/nodejs) environment #7

Merged
LeoVasanko merged 43 commits from rejuvenile into main 2025-08-15 18:03:04 +01:00
Showing only changes of commit c47ff317c3 - Show all commits

View File

@ -99,7 +99,7 @@ def process_pdf(path, *, maxsize, maxzoom, quality, page_number=0):
def process_video(path, *, maxsize, quality):
frame = None
imgdata = io.BytesIO()
istream = ostream = icontainer = ocontainer = icc = occ = frame = None
istream = ostream = icc = occ = frame = None
with (
av.open(str(path)) as icontainer,
av.open(imgdata, "w", format="avif") as ocontainer,