APNG render functions