-
Notifications
You must be signed in to change notification settings - Fork 2
Image
themixray edited this page Dec 11, 2021
·
6 revisions
Load image.
pygwin.image.load(path)
- path Path to the image.
Returns surface/list
Save surface to the image.
pygwin.image.save(surface, dest)
- surface Surface.
- dest Destination path.
Returns None
Surface to bytes.
pygwin.image.toBytes(surface)
- surface Surface.
Returns bytes
Surface from bytes.
pygwin.image.fromBytes(bytes)
- bytes Bytes.
Returns surface