Adding integration to the png stream, this is untested