1 from _typeshed import StrOrBytesPath
3 from .Image import Image
6 ROTATION_MATRIX: list[int]
7 MIRROR_MATRIX: list[int]
12 def __init__(self, patterns: list[str] | None = ..., op_name: str | None = ...) -> None: ...
13 def add_patterns(self, patterns: list[str]) -> None: ...
14 def build_default_lut(self) -> None: ...
15 def get_lut(self) -> bytearray: ...
16 def build_lut(self) -> bytearray: ...
20 def __init__(self, lut: bytearray | None = ..., op_name: str | None = ..., patterns: list[str] | None = ...) -> None: ...
21 def apply(self, image: Image) -> tuple[int, Image]: ...
22 def match(self, image: Image) -> list[tuple[int, int]]: ...
23 def get_on_pixels(self, image: Image) -> list[tuple[int, int]]: ...
24 def load_lut(self, filename: StrOrBytesPath) -> None: ...
25 def save_lut(self, filename: StrOrBytesPath) -> None: ...
26 def set_lut(self, lut: bytearray) -> None: ...