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

For example, there are 2 layers:

  • an iPhone mockup
  • an app icon upper left of the mockup screen

When I want to export the app icon as a .png file, now I:

  • copy the icon layer to a new PSD
  • use the mouse to drag the icon to center
  • change canvas to 57 x 57
  • further arrange the icon position
  • export

Is there a way to quickly clone a layer and center it?

share|improve this question
up vote 2 down vote accepted

Your action should:

  • Turn off all other layers (Alt/Opt-click on the layer eyeball)

  • Select All (Cmd/Ctl-A)

  • Copy Merged (Cmd/Ctl-Shift-C)

  • Turn other layers back on (Alt/Opt-click again)

  • Create a new document

  • Paste

  • Select All

  • Center Vertically and Center Horizontally (use the icons in the control bar)

  • Canvas Size to 54x54 absolute

  • Deselect

This will then work for any layer you have targeted in the Layers Panel.

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.