mirror of
https://github.com/DragonMinded/bemaniutils.git
synced 2026-09-28 18:08:13 +03:00
17 lines
368 B
Python
17 lines
368 B
Python
from PIL import Image # type: ignore
|
|
from typing import Optional, Tuple
|
|
|
|
from ..types import Color, Matrix, Point
|
|
|
|
def affine_composite(
|
|
img: Image.Image,
|
|
add_color: Color,
|
|
mult_color: Color,
|
|
transform: Matrix,
|
|
mask: Optional[Image.Image],
|
|
blendfunc: int,
|
|
texture: Image.Image,
|
|
single_threaded: bool = False,
|
|
) -> Image.Image:
|
|
...
|