Announcement

Collapse
No announcement yet.

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

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

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

    as stated in the subject... Please help..
    Thanks in advance
    Last edited by agila; 10-13-2003, 04:07 AM.

  • #2
    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~

    Comment


    • #3
      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?

      Comment


      • #4
        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.

        Comment


        • #5
          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, 04:08 AM.

          Comment


          • #6
            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."

            Comment


            • #7
              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.

              Comment


              • #8
                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!

                Comment

                Related Topics

                Collapse

                • kiska
                  Need action for sizing images
                  by kiska
                  I need to size numerous images with the longest dimension (vertical or horizontal) at 8", resolution of 72. Could someone point me in the right direction, please.
                  04-14-2014, 03:59 PM
                • christine66
                  Batch Resizing?
                  by christine66
                  Is there a way to automate the task of resizing multiple images on the fly in Photoshop 7?

                  Christine
                  02-09-2005, 11:32 AM
                • Doug Nelson
                  Script or action for 50% guides
                  by Doug Nelson
                  I'm trying to make an action that will apply vertical and horizontal guides at the 50% mark in any image, with no success. The action records the absolute position, not the relative position.

                  Am I just approaching this wrong, or is this something that will require a script?
                  11-06-2003, 06:56 PM
                • sdubose99
                  Need help with a PS action, please
                  by sdubose99
                  Hi, I'm an old hand with Photoshop but fairly new to actions. I've recorded them and modified them with fair results over the years. But now I need help with one.

                  I photograph virtual tours for real estate agents, using my digital camera and stitching multiple shots together to create...
                  11-21-2003, 12:17 PM
                • arcadhia
                  Batch Images
                  by arcadhia
                  Hi...
                  it has been ages since I came here for the last time..
                  a quick question...

                  let's say I have 1,000 pictures, all different sizes, resolutions even different cameras... and I have to cut, resize, and save with this specs:
                  - 3 x 3 Inches [square]
                  - 150dpi...
                  11-30-2011, 04:44 PM
                Working...
                X