PIL Image.Image type fix

This commit is contained in:
awsr
2026-04-06 01:06:19 -07:00
parent a07e9cc7e1
commit c003b0eb48
15 changed files with 23 additions and 23 deletions
+1 -1
View File
@@ -106,7 +106,7 @@ def apply_color_correction(correction, original_image, method='histogram'):
return fn(correction, original_image)
def apply_overlay(image: Image, paste_loc, index, overlays):
def apply_overlay(image: Image.Image, paste_loc, index, overlays):
if overlays is None or index >= len(overlays):
return image
debug(f'Apply overlay: image={image} loc={paste_loc} index={index} overlays={overlays}')