action for batch processing including copy/paste command

1191 views4 repliesLast post: 5/14/2006
Hi all,

a quick question for batch processing. I want to define an action that takes a part of a figure (same part for all the figures later) using the Rectangle Marquee Toll, copy this part, open a new document, paste this part and finally reduce the size of the image. When I define this action, everything goes well. Nevertheless, during the automate batch processing on a bunch of other images, it looks like the "open new file" is not done properly.

I do not know if "my" action is the best to achieve what I want to do. DO you have any other suggestions ??

thank you,

Pluton
#1
I just tought about the crop tool ?? Would it be a good solution instead of opening a new file and everything that follows ??

Thanks;

Pluton
#2
ok, I got it....

no need to reply for this request...

Pluton
#3
pluton wrote:
ok, I got it....

no need to reply for this request...
Posting your solution may help others.

--
John McWilliams
#4
sure. I do not think it is very usefull because kind of obvious but....

The problem was :

a bunch of bmp images parts of a future movie with too width white margins (left right bottom and top) and wrong size (3000*2000). Wrong size because if you later want to compress the movie in a divX format requires a specific specific size. The width has to be a multiple of 2 and the height, a multiple of 4 (or something like this).

Th solution is to define a script (or action) in photoshop that will crop the images to remove the white margins and then resize the images to 768*576 for example.

To define a script (many examples on the net by the way).

1 - Open the first image of the series of images you want to include in the movie.
2 - make sure that the crop tool is defined with a propoer ratio (like 4:3 in my case)
3 - define a new script (history window)
- create new set (one of the icons at the bottom of the action window) and name it
- create new action and name it : the circle saying that your actions are being recorded is now red
- crop you image (Crop toll (C)) - click right and select "crop" - go to 'image', then 'image size' (Alt+Ctrl+I) and use our own values (be careful with the resolution) - click ok
- stop the action recording by clicking on the square (blue I think) at the bottom of the action window
4 - close your document without saving the modifications

Now your action is done you can use it on a series of images stored in a given folder by using the batch function (File - Automate - batch). In the Batch window, select the action you just defined, the input folder and the output folder and you are done.

Pluton
#5