I have not tested images with less than 8 bits per color or images with indexed color as gimp could not export those. There is currently no support for interlaced images.
This patch adds PNG decoder that currently only inflates the PNG's zlib deflate stream