What did you do?
from PIL import ImageWin
dib = ImageWin.Dib("RGB", (1, 1))
hwnd = ImageWin.HWND(0)
dib.expose(hwnd)
What did you expect to happen?
It works without errors.
What actually happened?
TypeError: argument 1 must be int, not HWND
What are your OS, Python and Pillow versions?
- OS: Windows10
- Python: 3.11.4
- Pillow: 10.4.0
Thank you.