RetouchPRO

Go Back   RetouchPRO > Tools > Software
Register Blogs FAQ Site Nav Search Today's Posts Mark Forums Read


Software Photoshop, Lightroom, Paintshop Pro, Painter, etc., and all their various plugins. Of course, you can also discuss all other programs, as well.

How to Select an Exact Width from an Edge?

Reply
 
Thread Tools
  #1  
Old 09-29-2011, 12:32 AM
RobertAsh RobertAsh is offline
Senior Member
Patron
 
Join Date: May 2011
Location: Oakland, CA area
Posts: 380
How to Select an Exact Width from an Edge?

Hi,

I want to record an action to prep an image for a canvas. I need to add 3" to the width and height.

Can I tell Photoshop in an action to select the top 1.5" all the way across no matter how wide or narrow the image is?

I'll use the same technique for the other 3 sides and do Layer > New > Layer via Copy for each side to create the extra margin all around the image for the canvas wrapping.
Reply With Quote top
  #2  
Old 09-29-2011, 12:43 AM
chillin's Avatar
chillin chillin is offline
Senior Member
 
Join Date: Sep 2006
Location: The Golden State
Posts: 1,324
Blog Entries: 1
Re: How to Select an Exact Width from an Edge?

Check this: http://www.adobe.com/cfusion/exchang...&extid=1037293
Reply With Quote top
  #3  
Old 09-29-2011, 01:41 AM
RobertAsh RobertAsh is offline
Senior Member
Patron
 
Join Date: May 2011
Location: Oakland, CA area
Posts: 380
Re: How to Select an Exact Width from an Edge?

Hi,

Thanks, but that's not what I need help with. Before increasing the canvas size I need the action to select the top 1.5" of the image all the way across no matter how wide, narrow, tall or short the image is.

In the Rectangular Marquee tool I can specify the exact proportion but not the actual size of the selection, especially not fixing one dimension while floating the other.

Is there a way to do that?
Reply With Quote top
  #4  
Old 09-29-2011, 02:08 AM
chillin's Avatar
chillin chillin is offline
Senior Member
 
Join Date: Sep 2006
Location: The Golden State
Posts: 1,324
Blog Entries: 1
Re: How to Select an Exact Width from an Edge?

Quote:
Originally Posted by RobertAsh View Post
Hi,

I want to record an action to prep an image for a canvas. I need to add 3" to the width and height.
.
3" of what of canvas or an image size?
Reply With Quote top
  #5  
Old 09-29-2011, 03:05 AM
RobertAsh RobertAsh is offline
Senior Member
Patron
 
Join Date: May 2011
Location: Oakland, CA area
Posts: 380
Re: How to Select an Exact Width from an Edge?

Please ignore my previous notes, looks like they're pretty confusing.

I want an action that will select the top 1.5" strip of any image all the way across the top of the image -- regardless of the image's dimensions (i.e., regardless of how wide/narrow/tall/short that image is).

Can that be done in Photoshop CS5 on Windows 7?
Reply With Quote top
  #6  
Old 09-29-2011, 06:25 AM
Chain's Avatar
Chain Chain is offline
Senior Member
 
Join Date: May 2009
Location: Oslo, Norway
Posts: 551
Re: How to Select an Exact Width from an Edge?

I can think of several ways to do this. All a bit tricky.
First I want to know why this is required, and at what step in the action this is... If the 1,5" you want to select is the same 1,5" you have increased the canvas by, then if your image was on a layer (not "background") then that 1,5 will be transparent so you could select the layer, then invert the selection.
So as you see, the surrounding steps in the action, and the purpose of the selection can matter a bit here when finding the best way of doing it

Maybe we can see the action?

Focusing just on "i have an image. Select the top 1,5" regardless of image size and image ppi". The first thing that comes to mind is to do transform selection, but unfortunately that one only saves in the action using %. So:
You could hand-draw a selection from the upper left corner (coordinates 0,0) and 1,5 in high. Transform selection, with the anchor point in the upper left corner, increase width by e.g. 1000% percent. It is now probably way wider than whatever document you have. Then you can intersect that selection with a layer that has the same size as your canvas if you want to "crop" the selection so it doesn't go outside the canvas. I attached an action that does this, but sets it to 2.5 cm (my Photoshop isn't set to inches) – you can replace that step with whatever size you need.
Attached Files
File Type: zip Select X cm edge.atn.zip (967 Bytes, 5 views)
Reply With Quote top
  #7  
Old 09-29-2011, 08:17 AM
BillFrey BillFrey is offline
Senior Member
 
Join Date: Feb 2006
Posts: 209
Re: How to Select an Exact Width from an Edge?

I should have read all the replies first! Chain had the idea first and I agree with transform selection.

Select All, Transform Selection.
If you type in 1 in. it will work.

See attached.

Edit: I should have used 1.5 inch in the example, sorry.
Attached Images
File Type: jpg one-inch.jpg (18.4 KB, 13 views)
Reply With Quote top
  #8  
Old 09-29-2011, 09:38 AM
chillin's Avatar
chillin chillin is offline
Senior Member
 
Join Date: Sep 2006
Location: The Golden State
Posts: 1,324
Blog Entries: 1
Re: How to Select an Exact Width from an Edge?

Quote:
Originally Posted by BillFrey View Post
I should have read all the replies first! Chain had the idea first and I agree with transform selection.

Select All, Transform Selection.
If you type in 1 in. it will work.

See attached.

Edit: I should have used 1.5 inch in the example, sorry.
I think this works
Attached Files
File Type: zip 1-5.zip (630 Bytes, 4 views)
Reply With Quote top
  #9  
Old 09-29-2011, 02:46 PM
RobertAsh RobertAsh is offline
Senior Member
Patron
 
Join Date: May 2011
Location: Oakland, CA area
Posts: 380
Re: How to Select an Exact Width from an Edge?

Chain, Bill, Chillin,

Thanks. The objective is to provide extra image material for a canvas wrap to avoid cropping the core image subject matter. Here is the workflow I'm envisioning:
  • Select 1.5 inches or 2.5 cm from the top, bottom, left and right edges of the image.
  • For each of the edges:
    • Layer > New > Layer via Copy
    • Edit > Transform > Flip Vertical for the top/bottom (or Horizontal for the left/right edge)
  • Then:
    • Image > Canvas Size to expand the canvas
    • Then move each of the strips out to the edge to its proper place
Reply With Quote top
  #10  
Old 09-29-2011, 10:36 PM
chillin's Avatar
chillin chillin is offline
Senior Member
 
Join Date: Sep 2006
Location: The Golden State
Posts: 1,324
Blog Entries: 1
Re: How to Select an Exact Width from an Edge?

OK I tried some more 2.5".
Attached Files
File Type: zip 2_5Inch.zip (965 Bytes, 5 views)

Last edited by chillin; 09-30-2011 at 05:33 AM. Reason: This action works with only an image size W:30in x H:45in.
Reply With Quote top
Reply

  RetouchPRO > Tools > Software


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Possible to select all "disparate" pixels? (cs4, M jane255 Photoshop Help 2 08-06-2011 05:26 PM
Select Masked out object ylwdog Photoshop Help 5 03-28-2011 01:27 PM
healing brush: how to avoid color bleeding on edge ronfya Photo Retouching 16 03-24-2011 08:21 AM
Photoshop batch soft edge effect Galen Photoshop Help 3 02-12-2011 08:00 PM
Torn Paper Edge Effect? ahutton Photo-Based Art 2 02-03-2005 09:44 AM


All times are GMT -6. The time now is 03:41 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
Copyright © 2016 Doug Nelson. All Rights Reserved