mirror of
https://github.com/vladmandic/automatic
synced 2026-09-19 01:04:32 +02:00
PIL Image.Image type fix
This commit is contained in:
@@ -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}')
|
||||
|
||||
Reference in New Issue
Block a user