tenchy
2nd June 2009, 10:28 AM
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)
//************************************************** ***************************************
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
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)
//************************************************** ***************************************
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