Add support to PngWriter for writing multi-frame animated PNGs