1
0
mirror of synced 2024-12-13 23:11:06 +01:00
bemaniutils/bemani/format/afp/blend/blendcpp.pyi

35 lines
715 B
Python
Raw Normal View History

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