diff --git a/stubs/PIL/ImageQt.pyi b/stubs/PIL/ImageQt.pyi new file mode 100644 --- /dev/null +++ b/stubs/PIL/ImageQt.pyi @@ -0,0 +1,20 @@ +# Stubs for PIL.ImageQt (Python 3) +# +# NOTE: This dynamically typed stub was automatically generated by stubgen. + +from PySide.QtGui import QImage +from typing import Any + +qt_is_installed: bool +qt_version: Any + +def rgb(r: Any, g: Any, b: Any, a: int = ...): ... +def fromqimage(im: Any): ... +def fromqpixmap(im: Any): ... +def align8to32(bytes: Any, width: Any, mode: Any): ... + +class ImageQt(QImage): + def __init__(self, im: Any) -> None: ... + +def toqimage(im: Any): ... +def toqpixmap(im: Any): ...