DEV Community

Discussion on: What was your win this week?

Collapse
 
vgrovestine profile image
Vincent Grovestine • Edited

It may not seem like much, but this one CLI snippet has made my day! (...and spares me from the tedium of doing a hundred screen grabs by hand.)

for k in scene*.swf; \
do gnash --screenshot last \
--screenshot-file ./lastframe/$k.png -1 -r1 $k; \
done

Long story short: A Flash-based educational tutorial circa 2004 is getting overhauled for future longevity. However the source files were lost years ago, so I'm left to tease media assets from rendered *.swf scenes piecemeal.