2021-05-19 18:25:13 +02:00
|
|
|
from PIL import Image # type: ignore
|
2021-05-23 22:37:18 +02:00
|
|
|
from typing import Optional, Tuple
|
2021-05-19 18:25:13 +02:00
|
|
|
|
|
|
|
from .types.generic import Color, Matrix, Point
|
|
|
|
|
|
|
|
def affine_composite(
|
|
|
|
img: Image.Image,
|
2021-05-22 03:31:42 +02:00
|
|
|
add_color: Color,
|
2021-05-19 18:25:13 +02:00
|
|
|
mult_color: Color,
|
|
|
|
transform: Matrix,
|
2021-05-23 22:37:18 +02:00
|
|
|
mask: Optional[Image.Image],
|
2021-05-19 18:25:13 +02:00
|
|
|
blendfunc: int,
|
|
|
|
texture: Image.Image,
|
|
|
|
single_threaded: bool = False,
|
|
|
|
) -> Image.Image:
|
|
|
|
...
|