Graphic Design Stack Exchange is a question and answer site for Graphic Design professionals, students, and enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a number of equality sized square images and would like to distribute them evenly in a grid on the same image. How does one do this using Photoshop CS4? I'm trying to create a sprite. The images will have styles (borders, shadows) applied to them so using an external site isn't feasible.

share|improve this question
Have you tried the distribute buttons? – Scott Mar 3 '12 at 7:56
Would the answer here (…) be useful to you? I haven't tried the script mentioned in the answer, but you could give it a shot. – joshmax Apr 5 '12 at 13:50
There's always these same questions that surface over and over again. If you google Spritesheet generator you should get what you want right away. – Joonas Apr 24 '12 at 11:08

The easiest way is to determine how many rows and columns you want, then the width and height boundaries you want the images to display in.

Lay out the first row roughly in the order you want with the leftmost edge of the leftmost image at the left boundary and the rightmost edge of the rightmost image at the right boundary. Select every layer for the first row, select the move tool (v) and click the align vertical centers and then the distribute horizontal centers button. (repeat the steps for leftmost/rightmost edges and aligning vertical centers on all rows)

Next select all of the leftmost column and align the topmost and bottommost with their respective boundaries and use the distribute vertical centers button to get the proper alignment in that direction.

Hope this helps!

share|improve this answer

Try spritesheet maker. its a free tool. I'm using it...

share|improve this answer

Stitches is a great open-source online tool that does this:

Stitches is an HTML5 sprite sheet generator.

Drag & drop image files onto the space below, or use the “Open” link to load images using the file browser. Then, click “Generate” to create a sprite sheet and stylesheet. This demo uses a couple of HTML5 APIs, and it is only currently compatible with WebKit and Firefox browsers.

share|improve this answer

Your Answer


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.