Skip to main content
Participant
July 13, 2025
Answered

How do I resize multiple layers to a specific width and height at once?"

  • July 13, 2025
  • 3 replies
  • 508 views

Good day, I am new to Photoshop. I am on PC, I am using 26.8.0 version of the program. 

Let's say I have 10 layers in a document: 1 background and 9 rectangles, each with a different width and height.

I want to set a specific width and height for the 9 rectangles at once. For example, I want all rectangles to be 200 x 200 px.

I have tried selecting all of them and using Free Transform, or setting the desired width and height in the Properties panel while they are all selected, but it resizes them incorrectly (the chain is turned off)."

Is there a way to do this? Before posting here, I ran a ChatGPT inquiry, but it gave me the wrong answer.

 

 

Correct answer Stephen Marsh

@anon_8737 

 

I haven't tested, however, I think that you're going to need a script.

 

Are these pixel layers or vector? Can you post a screenshot of the layers panel?

 

Edit: try the script from  c.pfaffenbichler:

https://community.adobe.com/t5/photoshop-ecosystem-discussions/resize-selected-layers/m-p/12723890

 

Or this one from Paul Riggott:

raw.githubusercontent.com/Paul-Riggott/PS-Scripts/refs/heads/master/Resize Selected Layers.jsx

3 replies

Bojan Živković11378569
Community Expert
Community Expert
July 14, 2025

I believe you should loop through the layers, meaning you need to select each individual layer and resize them one at a time, rather than all at once. Therefore, a ready-made script as already pointed by @Stephen Marsh  would be your best friend.

Stephen Marsh
Community Expert
Community Expert
July 14, 2025

I had a quick play and I think that something specificity written for vector layers might be best.

Stephen Marsh
Community Expert
Stephen MarshCommunity ExpertCorrect answer
Community Expert
July 13, 2025

@anon_8737 

 

I haven't tested, however, I think that you're going to need a script.

 

Are these pixel layers or vector? Can you post a screenshot of the layers panel?

 

Edit: try the script from  c.pfaffenbichler:

https://community.adobe.com/t5/photoshop-ecosystem-discussions/resize-selected-layers/m-p/12723890

 

Or this one from Paul Riggott:

raw.githubusercontent.com/Paul-Riggott/PS-Scripts/refs/heads/master/Resize Selected Layers.jsx

Derek Cross
Community Expert
Community Expert
July 13, 2025

Have you tried Image > Image size and selecting pixels from the drop-down menu for the width and height?