Creates an in-memory png file from the given memory image, returning it.
writePng
See Implementation
Added April 21, 2023 (dub v11.0)
Creates an in-memory png file from the given memory image, returning it.