Link to home
Start Free TrialLog in
Avatar of chrisatwork
chrisatwork

asked on

create batch action to crop images at predefined x,y co-ordinates - URGENT!

I have around 500 identically sized gifs from which I need to crop a fixed number of pixels from top and bottom, then resize to the original height. I would like to automate this, for obvious reasons!

Is there any way in a action script or otherwise, of opening an image, setting a fixed size crop marquee at a predefined x,y coordinate, cropping, resizing and saving again?

I can obviously set the marquee size and click in the image, but the marquee locates at the clock point.

Very urgent or I will go stir crazy this weekend! 500 points.
ASKER CERTIFIED SOLUTION
Avatar of thinkwelldesigns
thinkwelldesigns
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
And after you have recorted the Action, use File/Automation/Batch to do it for all images you want.

Best is if images are in some folder and done images put in another. Then you dont have to open images first.
Avatar of chrisatwork
chrisatwork

ASKER

thinkwelldesigns

Thank you for that, sorry about the typo, should have read "click point"! Too much of a hurry....

After I posted this I had an idea; as the images needed to be cropped equally top and bottom, and consistently on all images, I set up an action to resize the canvas which cropped the image, then resized back to the original.  Ran it as a batch and no problems.

Although I solved it, you offered a valid solution so points to you with thanks.

Ripin: thank you for your comments.

Christopher

Thanks much, Christopher. Glad you got it working.