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