This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Computer Graphics with Photoshop > May 2006 > action for batch processing including copy/paste command





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author action for batch processing including copy/paste command
pluton

2006-05-13, 3:15 am

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

pluton

2006-05-13, 3:15 am

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

pluton

2006-05-13, 3:15 am

ok, I got it....

no need to reply for this request...

Pluton

John McWilliams

2006-05-14, 3:16 am

pluton wrote:
> ok, I got it....
>
> no need to reply for this request...
>

Posting your solution may help others.

--
John McWilliams
pluton

2006-05-14, 6:16 pm

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

Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews