Add support for PNG format. Close #2.