RetouchPRO

Go Back   RetouchPRO > Technique > Photo Restoration

Notices

Photo Restoration Repairing damaged photos

Reply
 
LinkBack Thread Tools
  #1  
Old 09-17-2003, 03:34 AM
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 04:07 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Float This Post!Stumble this Post!Google Bookmark this Post!Yahoo Bookmark this Post!Live Bookmark this Post!Share this post on Facebook
Reply With Quote
  #2  
Old 09-17-2003, 03:54 AM
DannyRaphael's Avatar
Moderator
Patron
 
Join Date: Mar 2002
Location: Near Seattle, Washington, USA
Posts: 5,660
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~
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Float This Post!Stumble this Post!Google Bookmark this Post!Yahoo Bookmark this Post!Live Bookmark this Post!Share this post on Facebook
Reply With Quote
  #3  
Old 09-17-2003, 04:23 AM
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?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Float This Post!Stumble this Post!Google Bookmark this Post!Yahoo Bookmark this Post!Live Bookmark this Post!Share this post on Facebook
Reply With Quote
  #4  
Old 09-17-2003, 04:40 AM
DannyRaphael's Avatar
Moderator
Patron
 
Join Date: Mar 2002
Location: Near Seattle, Washington, USA
Posts: 5,660
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Float This Post!Stumble this Post!Google Bookmark this Post!Yahoo Bookmark this Post!Live Bookmark this Post!Share this post on Facebook
Reply With Quote
  #5  
Old 09-17-2003, 08:49 PM
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 04:08 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Float This Post!Stumble this Post!Google Bookmark this Post!Yahoo Bookmark this Post!Live Bookmark this Post!Share this post on Facebook
Reply With Quote
  #6  
Old 09-17-2003, 08:56 PM
DannyRaphael's Avatar
Moderator
Patron
 
Join Date: Mar 2002
Location: Near Seattle, Washington, USA
Posts: 5,660
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."
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Float This Post!Stumble this Post!Google Bookmark this Post!Yahoo Bookmark this Post!Live Bookmark this Post!Share this post on Facebook
Reply With Quote
  #7  
Old 09-18-2003, 08:26 PM
Kevin Connery's Avatar
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Float This Post!Stumble this Post!Google Bookmark this Post!Yahoo Bookmark this Post!Live Bookmark this Post!Share this post on Facebook
Reply With Quote
  #8  
Old 10-13-2003, 04:07 AM
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!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Float This Post!Stumble this Post!Google Bookmark this Post!Yahoo Bookmark this Post!Live Bookmark this Post!Share this post on Facebook
Reply With Quote
Reply

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 On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Size and quality for Attached Images!! Flora Image Help 21 05-15-2008 08:47 PM
Resizing images for RetouchPRO jeaniesa Photo Retouching 18 09-26-2005 12:20 AM
Printing and looping an action in photoshop kbphoto Image Help 6 02-25-2005 07:31 AM


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


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0
Copyright © 2008 Doug Nelson. All Rights Reserved




1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51