| Server IP : 35.80.110.71 / Your IP : 216.73.216.221 Web Server : Apache/2.4.58 (Ubuntu) System : Linux ip-172-31-21-44 6.17.0-1019-aws #19~24.04.1-Ubuntu SMP Tue Jun 23 18:53:06 UTC 2026 x86_64 User : ubuntu ( 1000) PHP Version : 8.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /usr/lib/python3/dist-packages/PIL-stubs/ |
Upload File : |
import _tkinter
import tkinter
from _typeshed import ReadableBuffer, StrOrBytesPath, SupportsRead
from typing import Any
from PIL.Image import Image, _Mode, _Size
class PhotoImage(tkinter._PhotoImageLike):
tk: _tkinter.TkappType
def __init__(
self,
image: Image | _Mode | None = None,
size: _Size | None = None,
*,
file: StrOrBytesPath | SupportsRead[bytes] = ...,
data: ReadableBuffer = ...,
# These are forwarded to tkinter.PhotoImage.__init__():
name: str | None = None,
cnf: dict[str, Any] = ...,
format: str = ...,
gamma: float = ...,
height: int = ...,
palette: int | str = ...,
width: int = ...,
) -> None: ...
def __del__(self) -> None: ...
def width(self) -> int: ...
def height(self) -> int: ...
def paste(self, im: Image) -> None: ...
class BitmapImage(tkinter._BitmapImageLike):
def __init__(
self,
image: Image | None = None,
*,
file: StrOrBytesPath | SupportsRead[bytes] = ...,
data: ReadableBuffer = ...,
# These are forwarded to tkinter.Bitmap.__init__():
name: str | None = None,
cnf: dict[str, Any] = ...,
master: tkinter.Misc | _tkinter.TkappType | None = None,
background: str = ...,
foreground: str = ...,
maskdata: str = ...,
maskfile: StrOrBytesPath = ...,
) -> None: ...
def __del__(self) -> None: ...
def width(self) -> int: ...
def height(self) -> int: ...
def getimage(photo: tkinter.PhotoImage) -> Image: ...