just use example code to do it and it will crash at `webpanim.AddFrame(img, timeline, webpConfig)`. test gif:  
just use example code to do it and it will crash at
webpanim.AddFrame(img, timeline, webpConfig).test gif: