view stubs/PIL/ImageQt.pyi @ 2130:90f99b3f2b18

items() was broken; needs more typechecking or tests
author drewp@bigasterisk.com
date Sun, 05 Jun 2022 01:40:17 +0000
parents 3b2255e3576d
children
line wrap: on
line source

# 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): ...