writes some data to a png image
[] if no errors occurred, or array of strings containing errors
See Implementation
writes some data to a png image