Updated prototype for gif_deanimate