Bury's number 1 printing service

Page 1 of 5 123 ... LastLast
Results 1 to 8 of 38

Thread: New framing script for Photoshop

  1. #1
    Join Date
    Aug 2008
    Location
    England
    Posts
    118,588
    Photography Exp
    Intermediate
    Photoshop Exp
    Intermediate
    Can we edit your images ?
    Yes

    New framing script for Photoshop

    Here is an updated framing script based on one I posted some time ago.

    This script will take any image size and resize it with a 2 colour border, place a title that comes from the filename in the left bottom of the frame, and add your logo to the right bottom corner of the frame.
    The logo needs to be a PNG file, and about 14 pixels high, with my settings.
    It will operate on a folder full of images, and do them all in a batch. You can specify a different output folder from the input folder (though I always use the same - put copies of the full size images in an empty folder called framed).
    The script does not damage the originals, it only saves copied of them with the same filename but with '-framed' added to it.
    It will resize most images to be under the 170Kb limit for this forum. Some images with detail throughout may need re-opening in photoshop and saving a bit higher compression.
    My tests with 35meg TIF source files, all images with any blue sky in them came down to 130K to 160K, my 'old wood' image and a similar one came out at 200K so needed a re-save.
    When you run the script in Photoshop (from File/Scripts) you need to close all open images beforehand.

    Changes are:
    • Added auto fill of destination folder upon selection of source folder. This can still be overruled by simply using the destination browse button.
    • Added scripted stripping of ALL Exif data.
    • Added insertion of copyright and other information. As supplied the image will set the image status to copyrighted, and populate several fields as detailed below.

    On a typical Windows based Photoshop CS3 system unzip this file into the following folder:
    C:\Program Files\Adobe\Adobe Photoshop CS3\Presets\Scripts\

    To cutomise this to your own requirements just open the file in notepad or other simple text editor (Word or wordpad not recommended!!!)

    I've marked the sections of code with asterixes to make them easy to find.

    This is the only bit that you will have to edit:
    (It starts on line 188)
    Code:
    //*****************************************************************************************
    doc.info.author = "Your name";
    doc.info.title = "Picture by your name";
    doc.info.caption = "Please email you@your.address.com for any suspected copyright infringements."
    //doc.info.captionWriter = "Your name"
    //doc.info.keywords = ["Photo","Camera","Lens","Wedding","Portrait"]
    doc.info.ownerUrl = "your email or website address";
    //doc.info.city = "Bradford"
    //doc.info.provinceState = "West Yorkshire"
    doc.info.country = "England";
    doc.info.copyrightNotice = "Copyright © your name 2009";
    doc.info.copyrighted = CopyrightedType.COPYRIGHTEDWORK;
    //*****************************************************************************************
    Just change the texts within the double quote marks. These are just suggestions, you can put what you want in.
    The lines that start with // are disabled. To enable them, just delete the //, then edit the text within the double quotes.

    Have fun.

    Edit: replaced V2a with V2d from below
    Attached Files Attached Files
    Last edited by tenchy; 4th June 2009 at 07:57 AM.

  2. #2
    Join Date
    Aug 2008
    Location
    England
    Posts
    118,588
    Photography Exp
    Intermediate
    Photoshop Exp
    Intermediate
    Can we edit your images ?
    Yes

    A sample

    Forgot that it also will put a watermark on if you tick the box and out text there.

    Here is a sample image done with the script.
    35Mb to 159Kb.
    Attached Images Attached Images

  3. #3
    Join Date
    Apr 2009
    Location
    Liverpool, UK
    Posts
    296
    Photography Exp
    Beginner
    Photoshop Exp
    Beginner
    Can we edit your images ?
    Yes
    Excellent stuff, I shall be trying this very soon

  4. #4
    Kenny Guest
    wow Steve!!!

    thank you VERY much indeed!!!!

    Bessy regs

    Kenny

  5. #5
    Join Date
    Aug 2008
    Location
    England
    Posts
    118,588
    Photography Exp
    Intermediate
    Photoshop Exp
    Intermediate
    Can we edit your images ?
    Yes
    No problem, you're very welcome.
    If you need tips to slightly customise it just ask.

    For example thicker white border, less black, colour changes etc.

    Oh, just to say most of the original script, and the new copyright bits, are courtesy of Paul PMR (not sure of username now don't think he's here now). I've just added some bits and tweaked a few bits.

  6. #6
    Join Date
    May 2009
    Posts
    25
    Photography Exp
    Beginner
    Photoshop Exp
    Intermediate
    Can we edit your images ?
    Yes
    i get this error:

    Error 8: Syntax Error.
    line 1
    -> {\rtf1\ansi\deff0{\fonttbl(\f0\fmodern\fprq1\fchar set0 Courier
    New;}}

    Maybe cause im using cs4?

  7. #7
    Join Date
    Aug 2008
    Location
    England
    Posts
    118,588
    Photography Exp
    Intermediate
    Photoshop Exp
    Intermediate
    Can we edit your images ?
    Yes
    Ah, forgot to say I've only tested on CS3. The original scripts I posted before worked on CS2 I believe.
    Will need to research CS4 compatibility.

  8. #8
    Join Date
    Aug 2008
    Location
    England
    Posts
    118,588
    Photography Exp
    Intermediate
    Photoshop Exp
    Intermediate
    Can we edit your images ?
    Yes

    Try this

    Dinnis, try this version please, and let me know.

    Edit: replaced V2b with V2d from below
    Attached Files Attached Files
    Last edited by tenchy; 4th June 2009 at 07:58 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •