Assemble apng file from json.