Mercurial > code > home > repos > light9
view stubs/PIL/ImageFile.pyi @ 2321:ed0db55f604c
use undefined for 'nothing selected' insetad of null
author | drewp@bigasterisk.com |
---|---|
date | Thu, 01 Jun 2023 14:20:40 -0700 |
parents | 3b2255e3576d |
children |
line wrap: on
line source
# Stubs for PIL.ImageFile (Python 3) # # NOTE: This dynamically typed stub was automatically generated by stubgen. from PIL import Image from typing import Any, Optional MAXBLOCK: int SAFEBLOCK: Any LOAD_TRUNCATED_IMAGES: bool ERRORS: Any def raise_ioerror(error: Any) -> None: ... class ImageFile(Image.Image): tile: Any = ... readonly: int = ... decoderconfig: Any = ... decodermaxblock: Any = ... fp: Any = ... filename: Any = ... def __init__(self, fp: Optional[Any] = ..., filename: Optional[Any] = ...) -> None: ... def draft(self, mode: Any, size: Any) -> None: ... def verify(self) -> None: ... map: Any = ... im: Any = ... def load(self): ... def load_prepare(self) -> None: ... def load_end(self) -> None: ... class StubImageFile(ImageFile): __class__: Any = ... __dict__: Any = ... def load(self) -> None: ... class Parser: incremental: Any = ... image: Any = ... data: Any = ... decoder: Any = ... offset: int = ... finished: int = ... def reset(self) -> None: ... decode: Any = ... def feed(self, data: Any) -> None: ... def close(self): ...