This script by James Kersey turns character animations into sprite sheets.
James Kersey writes:
I just posted some code I wrote for making sprites from Blender animations. It takes a .blend file, renders the frames from each animation it finds in the file from the pre-defined directions, and stitches them together into a 1024x1024 sprite sheet (and makes json files to let your game code know what the animations, directions, and frames are).
It’s not at all user friendly and configuring Python to get this to work with Blender can be a pain. Also, if you have more frames than will fit on the sprite sheet they will run right off the edge and explode. If there's enough interest I'll make a GUI, but my goal is to automate rendering sprites from a large number of .blend files.