view stubs/PIL/IcoImagePlugin.pyi @ 2160:611c3e97de2f

factor out the show-specific strs
author drewp@bigasterisk.com
date Thu, 18 May 2023 10:49:16 -0700
parents 3b2255e3576d
children
line wrap: on
line source

# Stubs for PIL.IcoImagePlugin (Python 3)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.

from PIL import ImageFile
from typing import Any

i8: Any
i16: Any
i32: Any

class IcoFile:
    buf: Any = ...
    entry: Any = ...
    nb_items: Any = ...
    def __init__(self, buf: Any) -> None: ...
    def sizes(self): ...
    def getimage(self, size: Any, bpp: bool = ...): ...
    def frame(self, idx: Any): ...

class IcoImageFile(ImageFile.ImageFile):
    format: str = ...
    format_description: str = ...
    im: Any = ...
    mode: Any = ...
    size: Any = ...
    def load(self) -> None: ...
    def load_seek(self) -> None: ...