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! 🙂

How to Master Sharpening in Photoshop

Give your photos a professional finish with sharpening in Photoshop. Learn to enhance details, create contrast, and prepare your images for print, web, and social media.

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! 🙂

Must-have mockup pack for every graphic designer 🔥🔥🔥

Easy-to-use drag-n-drop Photoshop scene creator with more than 2800 items.

Related Discussion Topics

Nice and short text about related topics in discussion sections