CS3 actions question

B
Posted By
blushark
Feb 26, 2008
Views
355
Replies
2
Status
Closed
i am trying to create an action (in CS3) which would trim an image on all sides by X pixels.
i naively tried doing it using canvas size. i started recording on a sample image, reduced image height and width by 2X pixels (X pixels on each side) and that was fine.

however, things fall apart when i try to use it on an image of different dimensions, because actions recorded absolute dimensions i used to trim the canvas of sample image, and not just the relative change (of X pixels).

i need to use this on large number of differently sized images, and since i’m preparing those images for detailed image analysis and measurements in matlab later on, precision is crucial.

any ideas on how to properly record the action to save me hours of manual labor?

thanks! 🙂

MacBook Pro 16” Mockups 🔥

– in 4 materials (clay versions included)

– 12 scenes

– 48 MacBook Pro 16″ mockups

– 6000 x 4500 px

N
nomail
Feb 26, 2008
blushark wrote:

i am trying to create an action (in CS3) which would trim an image on all sides by X pixels.
i naively tried doing it using canvas size. i started recording on a sample image, reduced image height and width by 2X pixels (X pixels on each side) and that was fine.

however, things fall apart when i try to use it on an image of different dimensions, because actions recorded absolute dimensions i used to trim the canvas of sample image, and not just the relative change (of X pixels).
i need to use this on large number of differently sized images, and since i’m preparing those images for detailed image analysis and measurements in matlab later on, precision is crucial.

any ideas on how to properly record the action to save me hours of manual labor?

In Canvas Size, check ‘Relative’ and then fill in the pixels you want to crop off as a negative value.


Johan W. Elzenga johan<<at>>johanfoto.nl Editor / Photographer http://www.johanfoto.com
B
blushark
Feb 26, 2008
In Canvas Size, check ‘Relative’ and then fill in the pixels you want to crop off as a negative value.

i can’t believe i never noticed that checkbox in these 10 years i’ve been working in PS. thanks a lot! 🙂

MacBook Pro 16” Mockups 🔥

– in 4 materials (clay versions included)

– 12 scenes

– 48 MacBook Pro 16″ mockups

– 6000 x 4500 px

Related Discussion Topics

Nice and short text about related topics in discussion sections