Advertisement


Photoshop action for bringing an object in the center of the canvas and cropping it to 120X120 px


Question

Image

He everyone,

I am currently working on a project which requires me to shift the mentioned asset(in the pic) to the center of the canvas and crop the image to 120X120 px. The current image has the size of 300X300 px.There are around 300 image sequences that I need to do the same to. Was planning to run a batch process in Photoshop, with the custom action of shifting the image to the center of the canvas and cropping it to a specific size.Need help in creating that particular action.

Thanks in advance, Mayank

2014/10/31
1
0
10/31/2014 6:49:00 AM

Accepted Answer

  1. Open one of those documents When you open a document, the top most layer is automatically selected, so you don't need to include that in your action
    • I'm assuming that the image within all of your files is in it's own layer and is the only layer in the document, if we don't count a possible background layer.
  2. Start recording the action...
  3. Select > All So that you can align the layer in the next step
  4. Align vertically and horizontally Layer > Align layer to selection > ...
  5. Resize the canvas Image > Canvas resize... Just make sure Relative isn't checked
  6. Save your document to what ever folder you wish Don't touch the filename, just save, and when you run the batch at step 8, each file will be saved to that folder with their own respective filenames
  7. Close the document
  8. Stop recording
  9. File > Automate > Batch... Just select the action and path to your souce folder and press ok and wait till the batch ends
2014/10/31
1
10/31/2014 8:25:00 AM