It's easier to extract the old graphic from SC1 as there are available tools on the net. I coded another tool that helps me automatically stich the images for factorio.
https://github.com/heyqule/factorio_starcraft1
It can probably modify to stich any 2d animation since it stich the images based on file numbers.
It would be a lot harder to extract sc2 graphic with its 3D models. The units probably have to manually extract frame by frame, and the unit lighting may probably look odd too. It's simply too much work for a demo lol.
I thought about using sc1 remaster graphic. But the animation file uses a different format that there seems no existing tool to extract it