1
0
mirror of synced 2025-01-18 22:24:04 +01:00

19 lines
380 B
Python
Raw Normal View History

from PIL import Image # type: ignore
from typing import Optional
from ..types import Color, Matrix
def affine_composite(
img: Image.Image,
add_color: Color,
mult_color: Color,
transform: Matrix,
2021-05-23 20:37:18 +00:00
mask: Optional[Image.Image],
blendfunc: int,
texture: Image.Image,
single_threaded: bool = ...,
enable_aa: bool = ...,
) -> Image.Image:
...