start adding APNG support