RetouchPRO

Go Back   RetouchPRO > Technique > Photo Restoration
Register Blogs FAQ Site Nav Search Today's Posts Mark Forums Read


Photo Restoration Repairing damaged photos

How to add an specific amt of boarder for diff size of images in batch or action

Reply
 
Thread Tools
  #1  
Old 09-17-2003, 04:34 AM
agila agila is offline
Junior Member
 
Join Date: Jul 2003
Posts: 16
How to add an specific amt of border for diff sizes of images in batch or action

as stated in the subject... Please help..
Thanks in advance

Last edited by agila; 10-13-2003 at 05:07 AM.
Reply With Quote top
  #2  
Old 09-17-2003, 04:54 AM
DannyRaphael's Avatar
DannyRaphael DannyRaphael is offline
Moderator
 
Join Date: Mar 2002
Location: Near Seattle, Washington, USA
Posts: 6,300
If what you're trying to accomplish is something like:
* You have a folder of images of different sizes
* You want to run one action against all the images and have the action apply a different border depending on image size...

... this cannot be done by an action, whether played standalone or in batch.

If you know how to program in JavaScript or Visual Basic (I don't) and have Photoshop 7 installed, you could write a script to do this after downloading the PS7 scripting plugin from Adobe.com.

Another option would be to organize images in folders according to the size border you want to apply and play the 1/4" border action against one folder, the 3/8" border action against another folder, the 1/2" border action...

Does this help or make things worse?
~DannyR~
Reply With Quote top
  #3  
Old 09-17-2003, 05:23 AM
agila agila is offline
Junior Member
 
Join Date: Jul 2003
Posts: 16
Quote:
Originally posted by DannyRaphael
If what you're trying to accomplish is something like:
* You have a folder of images of different sizes
* You want to run one action against all the images and have the action apply a different border depending on image size...

~DannyR~
yes. your right. i want to run one action against all the images and have the action apply a constant boarder (ex. 40 pixels in each side) regardless of image size.


scripting? hmm.. maybe i'll try to learn it first.

does anybody have a ready script?
Reply With Quote top
  #4  
Old 09-17-2003, 05:40 AM
DannyRaphael's Avatar
DannyRaphael DannyRaphael is offline
Moderator
 
Join Date: Mar 2002
Location: Near Seattle, Washington, USA
Posts: 6,300
Perhaps I misunderstood your post.

If you want to apply same border size regardless of image size, a single action will do it.... no need to write a script that assesses image size before applying the border.

RE: Scripting
If you do decide to go this route, check the Photoshop forum at www.Adobe.com, where there is a subforum dedicated to scripting topics, questions/answers.
Reply With Quote top
  #5  
Old 09-17-2003, 09:49 PM
agila agila is offline
Junior Member
 
Join Date: Jul 2003
Posts: 16
actually you are right. what i mean is a a constant border.

lets say you have 3 images with different sizes:
400 by 600
500 by 700
700 by 500

after applying the constant border(40 pixel in each side) whether it is action or script, the images will become:
440 by 640
540 by 740
740 by 540

Sorry if i confused you.
Thanks

Last edited by agila; 10-13-2003 at 05:08 AM.
Reply With Quote top
  #6  
Old 09-17-2003, 09:56 PM
DannyRaphael's Avatar
DannyRaphael DannyRaphael is offline
Moderator
 
Join Date: Mar 2002
Location: Near Seattle, Washington, USA
Posts: 6,300
RE: "Sorry if I confuse you."

No problem. My wife does it all the time!

Among the actions installed with Photoshop are a couple that build frames with 50 pixel sides. If you're looking to create an action to do this, these would be good ones from which to learn.

If you haven't discovered these yet, open the Actions Palette menu. "Frames.atn" should be among those listed. Load this set and check "Wood Frame" and "Brushed Aluminium."
Reply With Quote top
  #7  
Old 09-18-2003, 09:26 PM
Kevin Connery's Avatar
Kevin Connery Kevin Connery is offline
Member
 
Join Date: Jun 2002
Location: Anaheim, CA
Posts: 82
The minimal action to accomplish this would be 2 or three steps.
  • Set the background color to the color you want your border
  • Image > Canvas Size and turn on the relative option. Then type in the border amount in the height and width fields (remembering to double the border so it's that amount on each side--that is, if you want a 20 pixel border on all sides, you'd specify 40 pixels each for height and width.)
  • Save as desired

Then use the File > Automate > Batch to tell Photoshop what files to work on (via the Browser or a folder), and what to do at the end (save to another folder being the safest).

Go get a cup of coffee, and when you come back, the files should be ready.
Reply With Quote top
  #8  
Old 10-13-2003, 05:07 AM
agila agila is offline
Junior Member
 
Join Date: Jul 2003
Posts: 16
Cool! Kevin you are right... the key is to check the "relative option". I've been doing the hardway for a long time....

thanks a lot!
Reply With Quote top
Reply

  RetouchPRO > Technique > Photo Restoration


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
Resizing images for RetouchPRO jeaniesa Photo Retouching 19 11-05-2016 09:28 PM
Size and quality for Attached Images!! Flora Image Help 24 03-26-2010 04:38 PM
Printing and looping an action in photoshop kbphoto Image Help 6 02-25-2005 08:31 AM


All times are GMT -6. The time now is 05:03 PM.


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