need to add a new method to PNG to get at the raw bytes as the png library only writes to disk
[Validate]