From b1f608d14bada0a739246e521fc0801e34514808 Mon Sep 17 00:00:00 2001 From: Clair Delafuente Date: Tue, 14 Oct 2025 18:36:30 -0400 Subject: [PATCH] minimize size webp nonsense --- cvmsentry.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cvmsentry.py b/cvmsentry.py index 43a9b5e..b439a47 100644 --- a/cvmsentry.py +++ b/cvmsentry.py @@ -110,7 +110,7 @@ async def save_image_async(image, filepath, vm_name, vm_data, current_hash): try: # Run the image saving in a thread pool to avoid blocking await asyncio.to_thread( - image.save, filepath, format="WEBP", quality=65, method=6 + image.save, filepath, format="WEBP", quality=65, method=6, minimize_size=True ) vm_data["last_frame_hash"] = current_hash log.info(f"Saved snapshot of {vm_name} to {filepath}")