PNG parser for fun.