Take the 2-minute tour ×
Graphic Design Stack Exchange is a question and answer site for Graphic Design professionals, students, and enthusiasts. It's 100% free, no registration required.

I bought a psd file that has lots of buttons - each button is a layer group.

What's a good way to split the file so that each button is it's own file - with its layers intact. I know how to turn off layers, but the resulting file has too large a Canvas size..(as well as being too big..)

share|improve this question
    
I'm wondering, what's the reason? –  Joonas Aug 11 '12 at 19:16
    
Oh, I'm writing an iOS app, and I want to use some, but not all of the buttons. Should I just import the file, and code the coordinates? –  David DelMonte Aug 11 '12 at 20:01
    
I'm still not completely sure about the psd files.. I hope you have mac, cause this is awesome app for mac macrabbit.com/slicy super easy and fast to use. –  Joonas Aug 11 '12 at 20:23
    
Joonas, that was fine. If you change this to the answer, I can credit you.. And yep, do have a Mac. –  David DelMonte Aug 12 '12 at 5:26

3 Answers 3

up vote 1 down vote accepted

Awesome mac only app for extracting objects out of a .psd file.

Slicy

enter image description here

share|improve this answer

To do exactly what you asked the best is to convert each folder into a smart object, open it and then hit save as.

But for exporting buttons and button states, I would suggest looking into layer comps (in combination with slices).

share|improve this answer
    
Thanks, I'll look into this too. –  David DelMonte Aug 12 '12 at 12:42

Joonas and KMSTR's answers are good. Slicy and Smart Objects can be handy.

Another option is selecting each group and converting it to a bitmap layer, just to aid exporting. Once you've converted each group to a bitmap layer, you can use File → Scripts → Export Layers to Files to export each layer as a file. This can also optionally trim files to the smallest possible dimensions.

You could even automate converting each group to a layer, by creating an Action that does the equivalent of merging, then advanced to the next group down.

You'll have to ensure all groups are closed for this to work. This can be done by command-option-clicking a top level group to close it.

I've built the Action for you, just in case. Clicking it many times, or assigning it to a keyboard shortcut will let you storm through those groups, then export.

Merge then advance

PS: Make sure you do this to a duplicate of the document. This isn't something you'd want to do to the original.

share|improve this answer
    
Thank you Marc. Very thoughtful. I think this will come in useful quite often.. Many thanks. –  David DelMonte Sep 29 '12 at 11:17

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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