refactor
fix png write
fix png write
update readme
fix sending images to stdout