Marquees and CS2 actions

Tutorials, questions, demos, questionable images ,,,

Moderator: Moderators

Forum rules
Please ensure that you have a meaningful location included in your profile. Please refer to the FAQ for details of what "meaningful" is.

Marquees and CS2 actions

Postby Reschsmooth on Wed May 30, 2007 9:42 am

Hello folks

I am trying to set up some framing/border actions in CS2 that involve inserting a rectangular marquee. I have a couple of problems and questions for the intelligentsia of the group:

1. When I set up an action which includes the marquee which, for example, is just outside the edge of the image (which has additional canvas space around it) and I then perform the action on another image which has the same dimensions, the marquee is offset (eg. pushed towards upper left). Everything else is constant - why does this happen?
2. Is it possible to use another tool which can place the marquee a specific distance outside the image to allow for differently sized images (including shots taken in portrait vs landscape mode, etc)? For example, like adjusting the canvas size in a relative way, can I place the marquee, say, 3mm outside the image, irrespective of how big that image is?

Many thanks for your help, in advance.

P
Regards, Patrick

Two or three lights, any lens on a light-tight box are sufficient for the realisation of the most convincing image. Man Ray 1935.
Our mug is smug
User avatar
Reschsmooth
Senior Member
 
Posts: 4164
Joined: Tue Aug 01, 2006 2:16 pm
Location: Just next to S'nives.

Postby Reschsmooth on Wed May 30, 2007 9:24 pm

Bump - anyone??? :lol:

P
Regards, Patrick

Two or three lights, any lens on a light-tight box are sufficient for the realisation of the most convincing image. Man Ray 1935.
Our mug is smug
User avatar
Reschsmooth
Senior Member
 
Posts: 4164
Joined: Tue Aug 01, 2006 2:16 pm
Location: Just next to S'nives.

Postby Matt. K on Wed May 30, 2007 10:52 pm

I'm not sure if that can be done. You can select the entire image in an action by using CONTROL + A and then perhaps go to SELECT/MODIFY and then modify the marquee by a certain number of pixels. I haven't tried it but I don't see why it shouldn't work. Like you.....I'm eagerly awaiting other suggestions.
Regards

Matt. K
User avatar
Matt. K
Former Outstanding Member Of The Year and KM
 
Posts: 9981
Joined: Mon Sep 06, 2004 7:12 pm
Location: North Nowra

Postby Reschsmooth on Wed May 30, 2007 11:20 pm

Matt. K wrote:I'm not sure if that can be done. You can select the entire image in an action by using CONTROL + A and then perhaps go to SELECT/MODIFY and then modify the marquee by a certain number of pixels. I haven't tried it but I don't see why it shouldn't work. Like you.....I'm eagerly awaiting other suggestions.


Thanks Matt, I will have to give it a bit more of a try.

Regards

P
Regards, Patrick

Two or three lights, any lens on a light-tight box are sufficient for the realisation of the most convincing image. Man Ray 1935.
Our mug is smug
User avatar
Reschsmooth
Senior Member
 
Posts: 4164
Joined: Tue Aug 01, 2006 2:16 pm
Location: Just next to S'nives.

Postby Yi-P on Thu May 31, 2007 1:32 pm

Pat,

Photoshop records action based on your current photo. And whatever pixel based edits are recorded in their pixel by pixel coordinates. So if the photo is different in dimension, it cannot be done automatically, you need to set up the action to let you do that section automatically and resume the rest.

I'm not at home at the moment, so I can't really verify this. But I have done something similar to this in the past, so speaking off top of my head.

Select ALL --> CTRL+A (or select -->canvas if there is such options)
Select --> Modify --> Border--> Enter the pixel you want to reduce

And you should then have your outter border selected. No matter of what the size of your photo is, as long as they are full res photos and pixel size does not change in much. (Because you've recorded the action to be in pixel based)
Last edited by Yi-P on Thu May 31, 2007 9:59 pm, edited 1 time in total.
User avatar
Yi-P
Senior Member
 
Posts: 3579
Joined: Mon Jul 25, 2005 1:12 am
Location: Sydney -- Ashfield

Postby bwhinnen on Thu May 31, 2007 2:18 pm

The way I do it is to do two selections and save the first and the intersect that one with the second.

I.e.

(Note transforms for selections are based on a 'relative' transformation)

Select All
Transform selection based on top left corner to X: +x pixels, Y: +x pixels
Save Selection
Select All
Transform selection based on bottom right corner to X: -x pixels, Y: -x pixels
Load Selection Saved earlier and select the intersection option.

Then simply invert the selection to get the border section.

This will work with any image of any size.

The thing I haven't figured out yet is how to Free Transform a Text layer to X: -x pixels, Y: -x pixels ... It always works relative to initial location of the text...

Cheers
Brett
User avatar
bwhinnen
Senior Member
 
Posts: 1234
Joined: Fri Nov 26, 2004 11:12 am
Location: Cornubia, Brisbane

Postby olrac on Thu May 31, 2007 5:15 pm

wouldnt these suggestions all cut some of your image away?
i.e. the width of your border/Frame covers the image.

I remember trying to do something similar except first I would enlarge the canvas size by x % on each side, I never was happy with the result but I think I might give it another crack.
User avatar
olrac
Member
 
Posts: 427
Joined: Wed Jun 08, 2005 2:16 pm
Location: Richmond - VIC

Postby Reschsmooth on Thu May 31, 2007 5:16 pm

Thanks everyone for your suggestions - I will give them a go when I am in front of PS.

Patrick
Regards, Patrick

Two or three lights, any lens on a light-tight box are sufficient for the realisation of the most convincing image. Man Ray 1935.
Our mug is smug
User avatar
Reschsmooth
Senior Member
 
Posts: 4164
Joined: Tue Aug 01, 2006 2:16 pm
Location: Just next to S'nives.

Postby bwhinnen on Thu May 31, 2007 5:38 pm

olrac wrote:wouldnt these suggestions all cut some of your image away?
i.e. the width of your border/Frame covers the image.

I remember trying to do something similar except first I would enlarge the canvas size by x % on each side, I never was happy with the result but I think I might give it another crack.


First thing you would do is increase the canvas by the amount you want to select on the outside... ie +x pixels both X and Y...
User avatar
bwhinnen
Senior Member
 
Posts: 1234
Joined: Fri Nov 26, 2004 11:12 am
Location: Cornubia, Brisbane

Postby Matt. K on Sun Jul 15, 2007 12:20 am

My action selects the image first and then strokes it with a 16 pixel black line. I then change my canvas size to 110% which puts an even canvas around the image and then I add 1 cm to the bottom of the canvas for text and signature. The action does it all with the press of a button.
Regards

Matt. K
User avatar
Matt. K
Former Outstanding Member Of The Year and KM
 
Posts: 9981
Joined: Mon Sep 06, 2004 7:12 pm
Location: North Nowra


Return to Post Processing