Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

I need to take a sprite sheet and convert it into multiple images, one for each frame of the sprite sheet.

How should I go about this? I would prefer an offline method or a tool to do so -- I found Alferd SpriteSheet Unpacker, but it is really slow on Windows 7 and does not seem to respond well at all.

share|improve this question

closed as off-topic by Byte56 Sep 24 at 18:32

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions about "how to get started," "what to learn next," or "which technology to use" are discussion-oriented questions which involve answers that are either based on opinion, or which are all equally valid. Those kinds of questions are outside the scope of this site. Visit our help center for more information." – Byte56
If this question can be reworded to fit the rules in the help center, please edit the question.

1  
I reworded your question so it is asking how to solve (what I presume to be) your specific problem rather than asking for a list of tools others are using, as the latter type of question is a poor fit for this site. –  Josh Petrie Aug 11 '12 at 18:54
    
I'm the author of 'Alferd Spritesheet Unpacker' can you post a link to the spritesheet you're trying to unpack and I'll see why it's so slow. I developed and tested it on Windows 7 so that shouldn't be an issue. –  ForkandBeard Aug 12 '12 at 8:29
    
@ForkandBeard Here is the spritesheet. i.imgur.com/R1MPY.png . When I click on Select All > Export Selected. Nothing seems to happen it just hangs, and I tried sleeping on it but no luck. –  Aivan Monceller Aug 12 '12 at 9:01
    
@AivanMonceller thanks for posting the spritesheet. It's really small, I managed to unpack it in under a second running on Windows 7. I can't replicate the issue all I can suggest is make sure you're using ASU version 8 and you have permission to write to the folder you're trying to export to... –  ForkandBeard Aug 12 '12 at 9:25
    
@ForkandBeard I know this is getting a bit off topic. But I tried to debug your work. (Just for the purpose of knowing the error). It stops when showing the folder browser dialog. I am not sure why. But I never see the folder browser dialog when clicking Export on cmdExport_Click –  Aivan Monceller Aug 12 '12 at 12:06

4 Answers 4

If the spritesheet is a bunch of regularly sized images, ImageMagick can do this like split up an image into pieces. For example, the commands for cropping a bunch of tiles.

share|improve this answer

If you don't mind an online solution, http://imagesplitter.net/ is as easy as it gets (provided the spritesheet is actually a regular grid, like the one you've posted). Just upload your image, select SPLIT IMAGE tab, choose the number of rows and columns (and the images format) - and that's pretty much it.

share|improve this answer

Shoebox is a great tool for this purpose and rather flexible.

http://renderhjs.net/shoebox/extractSprites.htm

It's AIR based, so you can use it on OSX or Windows.

It's drag/drop automagic at it's best.

share|improve this answer

I just can't replicate the issue with FolderBrowserDialog.ShowDialog hanging, so I've created a new version of the app (version 9) which has a new 'Prompt for Export Folder' option. Unchecking this option removes the need for the dialog box.

You can download version 9 from my site Alferd Spritesheet Unpacker version 9.

On the 'Options' form untick the 'Prompt for Export Folder' check box and now ASU will just export the files to whatever directory path is in the long textbox at the bottom of the main form.

(If you don't want to change this option every-time you can set PromptForDestinationFolder to false in the .exe.config file)

share|improve this answer
    
Unfortunately, even with the PromtpForDestinationFolder unchecked, it still hangs. I am testing with this spritesheet (note that I converted it to PNG before dragging it into your unpacker): funorb.com/img/images/game/central/dev_diary/… –  Samaursa Jun 29 '13 at 21:20
    
It also hangs when I click about... in options. I am guessing the program has trouble opening additional windows. –  Samaursa Jun 29 '13 at 21:22

Not the answer you're looking for? Browse other questions tagged or ask your own question.