Simple (and optimized) APNG converter