Files @ 63aad60fb070
Branch filter:

Location: light9/stubs/PIL/IcnsImagePlugin.pyi

drewp@bigasterisk.com
big effect rewrite: the effect functions & library
# Stubs for PIL.IcnsImagePlugin (Python 3)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.

from PIL import ImageFile
from typing import Any, Optional

enable_jpeg2k: Any
i8: Any
HEADERSIZE: int

def nextheader(fobj: Any): ...
def read_32t(fobj: Any, start_length: Any, size: Any): ...
def read_32(fobj: Any, start_length: Any, size: Any): ...
def read_mk(fobj: Any, start_length: Any, size: Any): ...
def read_png_or_jpeg2000(fobj: Any, start_length: Any, size: Any): ...

class IcnsFile:
    SIZES: Any = ...
    dct: Any = ...
    fobj: Any = ...
    def __init__(self, fobj: Any) -> None: ...
    def itersizes(self): ...
    def bestsize(self): ...
    def dataforsize(self, size: Any): ...
    def getimage(self, size: Optional[Any] = ...): ...

class IcnsImageFile(ImageFile.ImageFile):
    format: str = ...
    format_description: str = ...
    best_size: Any = ...
    size: Any = ...
    im: Any = ...
    mode: Any = ...
    fp: Any = ...
    icns: Any = ...
    tile: Any = ...
    def load(self) -> None: ...