Use pyPNG instead of PIL
pyPNG dy drj11: https://github.com/drj11/pypng