File copied from https://github.com/blaind/webp-animation/,
licensed MIT/AL.