Skip to main content
Participant
August 4, 2015
Question

Batch bespoke crop

  • August 4, 2015
  • 1 reply
  • 297 views

Hi,

I'm trying to find a script to speed up one of the most time consuming areas of my workflow. Essentially, I have a collection of images containing products which are never in the same position. I basically need to crop the images so that the product in question is in the middle of the crop (1200px x 1280px). However as the products are never in the same position in the image, i haven't been able to find a way to batch process a collection of images.

I've tried creating an action and batch processing the images (cropping to the specific size and saving for web), but as i need a bespoke crop for each image, its not been workable. Is there a way to interrupt an action to allow me to quickly position the crop correctly and then carry on the batch process? Or come to think of it a script that will allow me to quickly get through large numbers of images?

Cheers,

Rik

This topic has been closed for replies.

1 reply

JJMack
Community Expert
Community Expert
August 4, 2015

Batch cropping, user prompted positioning.

Action

Step Select all

Step Select Transform Selection  Rotate selection 180 (Make this step interactive)

Step Image Crop

Step automate Fit Image 1200 1280

Step Image>Canvas Size 1200 1280

You must complete the Interactive transform with the enter key. You can not use the ESC key doing so would cancel the transform step and stop the action and if it was being batch the batch process.   The rotate 180 is requited so the enter will not be like a cancel if you do not change the shown rotated select all it will rotate the selection 180.

http://www.mouseprints.net/old/dpr/InteractiveCrop.atn

JJMack
Participant
August 7, 2015

Thanks again for the help! I think i'am pretty much there now!