From 9dd5937ccd524643c83af9d2e6fdbce2ad2be13b Mon Sep 17 00:00:00 2001 From: CiscoTheWolf Date: Sun, 21 May 2023 23:12:41 +0200 Subject: [PATCH] even more bug fixes2 --- rpi/blinkingTest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpi/blinkingTest.py b/rpi/blinkingTest.py index 5b0beeb..9e18a0d 100644 --- a/rpi/blinkingTest.py +++ b/rpi/blinkingTest.py @@ -23,7 +23,7 @@ def pure_pil_alpha_to_color_v2(image, color=(0, 0, 0)): def image_interpolation(image1, image2, alpha): # Ensure both images have the same size - assert image1.shape == image2.shape, "Input images must have the same shape" + assert image1.size == image2.size, "Input images must have the same shape" # Normalize the alpha value alpha = max(0, min(1, alpha))