Generate sprite sheets from animated gifs with a static background