Some progress toward PNG decoder