write/loadPNGMem