Function savePNG
Wraps IMG_SavePNG which saves a dsdl image into a PNG file in the filesystem
Parameters
| Name | Description |
|---|---|
| surface | given dsdl of the image to save |
| file | target file path to save |
Throws
dsdl if failed to save
Wraps IMG_SavePNG which saves a dsdl image into a PNG file in the filesystem
| Name | Description |
|---|---|
| surface | given dsdl of the image to save |
| file | target file path to save |
dsdl if failed to save