fix combination

This commit is contained in:
Jannes Magnusson
2025-10-17 15:28:43 +02:00
parent a1de093d2c
commit 3bc1784e37

View File

@@ -57,7 +57,7 @@ class CombinedView(tk.Frame):
if ims: if ims:
combined_im = ims[0] combined_im = ims[0]
for im in ims[1:]: for im in ims[1:]:
combined_im = ImageChops.logical_and(combined_im, im) combined_im = ImageChops.invert(ImageChops.logical_xor(combined_im, im))
# Convert PIL image to bytes # Convert PIL image to bytes
buffer = io.BytesIO() buffer = io.BytesIO()