Wraps IMG_SavePNG_RW which saves a dsdl2.Surface image into a buffer of PNG file format
given dsdl2.Surface of the image to save
dsdl2.SDLException if failed to save
See Implementation
Wraps IMG_SavePNG_RW which saves a dsdl2.Surface image into a buffer of PNG file format