初步尝试UI化
This commit is contained in:
@ -562,8 +562,8 @@ class ImageFilterImplement:
|
||||
def apply_shadow(image: Image.Image,
|
||||
x_offset: int = 10,
|
||||
y_offset: int = 10,
|
||||
blur = 10,
|
||||
opacity = 0.5,
|
||||
blur: float = 10,
|
||||
opacity: float = 0.5,
|
||||
shadow_color = "black") -> Image.Image:
|
||||
if image.mode != 'RGBA':
|
||||
image = image.convert('RGBA')
|
||||
|
||||
Reference in New Issue
Block a user