I'm using gif-frames (https://www.npmjs.com/package/gif-frames) to extract frames from animated GIFS. I'd like to save all the frames as a single image.
I know I can use something like https://www.npmjs.com/package/merge-img but I don't know how to use frameData output of gif-frames and use it as input for mergeImg. Can you please help?
The easiest way I found to do that is the following, but I'm sure there are better ways.