Files
@ dd9474bef2a6
Branch filter:
Location: light9/stubs/PIL/ImagePalette.pyi - annotation
dd9474bef2a6
849 B
text/plain
decimal not double! this caused patch comparisons to fail and led to redundant work
3b2255e3576d 3b2255e3576d 3b2255e3576d 3b2255e3576d 3b2255e3576d 3b2255e3576d 3b2255e3576d 3b2255e3576d 3b2255e3576d 3b2255e3576d 3b2255e3576d 3b2255e3576d 3b2255e3576d 3b2255e3576d 3b2255e3576d 3b2255e3576d 3b2255e3576d 3b2255e3576d 3b2255e3576d 3b2255e3576d 3b2255e3576d 3b2255e3576d 3b2255e3576d 3b2255e3576d 3b2255e3576d 3b2255e3576d 3b2255e3576d 3b2255e3576d | # Stubs for PIL.ImagePalette (Python 3)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from typing import Any, Optional
class ImagePalette:
mode: Any = ...
rawmode: Any = ...
palette: Any = ...
colors: Any = ...
dirty: Any = ...
def __init__(self, mode: str = ..., palette: Optional[Any] = ..., size: int = ...) -> None: ...
def copy(self): ...
def getdata(self): ...
def tobytes(self): ...
tostring: Any = ...
def getcolor(self, color: Any): ...
def save(self, fp: Any) -> None: ...
def raw(rawmode: Any, data: Any): ...
def make_linear_lut(black: Any, white: Any): ...
def make_gamma_lut(exp: Any): ...
def negative(mode: str = ...): ...
def random(mode: str = ...): ...
def sepia(white: str = ...): ...
def wedge(mode: str = ...): ...
def load(filename: Any): ...
|