« My pimped totem | Home | My Trancefusion 2006 (TF9) »
My Photoshop Scripting
It isn’t a secret that one can script Photoshop to automate some tasks. Heck, one could even write a program and steer Photoshop. Hereby I’m posting a script that I’ve been using quite regularly.
The interest in scripting Photoshop started when Thomas and I discovered Chlomoscript when researching lomography.
The script itself is quite heavy, both on CPU and in the result. After playing around with Chlomoscript, we came to the stage where we would actually run the Chlomoscript and – once the result was there – we would disable some layers and tweak some layers their transparancy since we didn’t want to use all of the actions that came with Chlomoscript; in some cases we just wanted to pimp some low-contract pics and add some colour to it.
Since Photoshop scripts are plain javascript, it wasn’t hard for me (I’m the techie, Thomas the designer) to adjust it so we would bypass the repetitive manual “fooling around with the Chlomoscript layers”-part. This would increase the speed by which the results came (fyi: Chlomoscript is really heavy!) and would immediately give the result we wanted.A first run at minimizing Chlomoscript was entitled “HomoScript” (don’t ask me how we got to that name, we just got there). Later on some more fiddling was done and this resulted in a script dubbed “LesboScript” (or just Homoscript V2).
Lesboscript basically adds these layers, automatically:
- Selective Colour on the neutrals : Yellow +20
- Center Light: Tiny center radial gradient of white, to enlighten the center of the picture
- Shadow: Radial gradient of black on the outer side of the image
- Saturation: +10
- Contrast: +10
The result can be seen right here:
Original Picture

LesboScript Result

Chlomoscript Result

Sometimes the “Selective Colour”-layer might not be needed, just disable it manually then. In my experience Lesboscript gives the best result on a picture with lots of green, as seen above. Right here is an example picture of where the Selective Color layer has been disabled, to give better results:
Original Picture

LesboScript result, without Selective Colour

ChlomoScript Result

So hereby I’m releasing LesboScript (created October 2005 btw). Maybe you’ll use it and pimp up that picture of your garden
To use this script, just place in into your Photoshop Scripts Folder (on a windows PC this is "C:\Program Files\Adobe\Adobe Photoshop CS2\Presets\Scripts". After placing it there, open up your image in Photoshop and go to "File" > "Scripts" and select "PS_Bramus_LesboScript" from the list to apply it to the focused document.
Have Fun!
B!
About this entry

Aug 30 2006 / 12:09 am


Best of Bram.us
Start getting used to scratching and smudging the iPhone with this Flash based iPhone Simulator
Automatically wrap/float/contour text around freeform images using CSS for usage in (X)HTML pages.
Pimp Your Firefox to be a web all-star
A look at the inc.common.php, spreading handy functions.
Photoshop Script inspired in the Chlomoscript to unobtrusively pimp photos you have taken.
Methods to adding file management options to TinyMCE (Part 1), Extending TinyFCK (Part 2) and PHP file uploads overview (Spinoff 1).








Trackbacks/Pings
[...] Dit heb ik echter niet te danken aan het dagelijkse sproeien, maaien,… noch aan peperdure meststoffen of supersonisch tuingereedschap. De oplossing is even simpel als eenvoudig,… en je moet er niet eens voor uit je luie zetel komen…
Het LesboScript van Bramus!… Posted by goOve! Filed in alfa7, graphic [...]
[...] Why use this manual way if someone was kind enough to provide an instant/automatic/automagic lomo effect script for Photoshop? Spread the word! [...]
[...] knock up a script which exports all text layers from a Photoshop document to a text file. Since I’ve scripted Photoshop before (heck, I even steered Photoshop from within C#) it was no biggie for me to knock up a simple [...]
[...] knock up a script which exports all text layers from a Photoshop document to a text file. Since I’ve scripted Photoshop before (heck, I even steered Photoshop from within C#) it was no biggie for me to knock up a simple [...]
[...] nog mooier geweest in kleur! De derde vind ik ook best leuk eigenlijk . By the way @ nabewerking: LesboScript is ook een leuke "tool" . __________________ muSIC | webLOG | [...]
[...] [...]
Comments
Thanks Bramus! The flyers I made at work look a lot nicer now
Wow, its a magic from photoshop create by you Bramus.. Thanks for sharing. Actually i want to learn how to create photoshop scripting. But now, don’t know where to start.
Until i found your blog.
Thanks again Bramus.
Regards
Hi Bramus.
I didn’t even know that you could write scripts for photoshop so thanks for the eye opener.
Is there any difference between using a script or making an action that you can run?
I’m interested because I sometimes do some heavy photoshopping on my photographs and it would be nice to cut a few corners.
This was something new to me as well. I had no idea that you can write js to do this. Thanks for the info and best of luck.