apng_parser.c 

based on png_parser.c . chunks parsed based on fcTL and IHDR.