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 fcb95e9154 - Show all commits

View File

@ -92,7 +92,7 @@ def process_image(path, *, maxsize, quality):
# Save as AVIF
imgdata = io.BytesIO()
t_save_start = perf_counter()
img.save(imgdata, format="avif", quality=quality)
img.save(imgdata, format="avif", quality=quality, speed=10)
t_save_end = perf_counter()
ret = imgdata.getvalue()