add writePNG method for BlitBuffer
Merge pull request #257 from koreader/chrox-master

add writePNG method for BlitBuffer