PDA

View Full Version here: : Photoshop Actions


TrevorW
16-11-2009, 05:29 PM
What are Photoshop Actions?

An Action is a recording of a sequence of events within Adobe Photoshop. Repeatitive and complexed tasks can be recorded and 'played-back' at a later point saving time and effort. Actions can be saved and shared and will remain with Adobe Photoshop for future use.

I'm sure a number of you have certain set actions which you apply in PS to improve images.

It may be an idea to offer these actions via zip files for thsoe budding astro imagers and even some of those who have been at it longer.

1. FIND YOUR ACTIONS PALETTE

http://blog.epicedits.com/wp-content/uploads/actions-palette.png
Before you can do anything, you need to have the right tools in front of you. Make sure that your actions palette is activated and visible. It typically shows up as a tab on the history palette, but this may vary depending on your workspace.
If your actions palette is nowhere to be found, you can activate it under the “Window” menu. Once you do this, you should see a palette similar to the one in this photo. If you don’t have any actions defined yet, you’ll probably just see the “Default Actions” set.
Sets are a way to group actions as you see fit. To create a new set, pull down the palette menu and click “New Set…”. Give your new set a descriptive name. Also note that when you import and export actions, it’s the whole set rather than a single action.
2. CREATE A NEW ACTION

http://blog.epicedits.com/wp-content/uploads/new-action-set.png
OK, you’ve got some sequence of events you want to record and you’re ready to start the action. As an example, I’ll walk through my “Flickr Horizontal” action that I mentioned in the teaser post (http://blog.epicedits.com/2008/03/05/use-photoshop-actions-to-save-time/).
Before we can begin recording the action, we’ll need to create the action. Pull down the action menu and click on “New Action…”. Give it a name and a keyboard shortcut if you want. Now we have a new empty action that we can record to.
http://blog.epicedits.com/wp-content/uploads/new-action-dialog.png
3. BEGIN RECORDING THE ACTION

To begin recording the action, simply select your action in the palette and click on the “Record” icon in the lower action menu or select “Start Recording” from the pull-down menu. Once you click this button, every event you perform will be recorded. This includes menu items, adjustments, layer selections, and any of the Photoshop tools.
http://blog.epicedits.com/wp-content/uploads/action-bottom-menu.png
There’s no need to hurry through your sequence of events, because the action is not time based. If you’re not doing something to the image, it won’t be recorded. So take your time and get it right.
4. DO YOUR STUFF

Now do whatever it is that you wanted to do. Perform all the tasks, clicks, option settings, and image adjustments that you want included in your action.
If you mess something up or if you accidentally skip a step — don’t worry. After recording the action you can go back and edit the steps, add steps, and re-record steps.
For my “Flickr Horizontal” action, here are the steps I take:
http://blog.epicedits.com/wp-content/uploads/flickr-action-steps.png


Save (optional)
Since I’m creating an action that eventually closes the file, it might be a good idea to quickly save the original prior to running the rest of the action. I don’t include this step in my action because of long save times for large files, but I could lose information if I forget to save prior to running the action.
Flatten Image
Since I’ll be resizing the image, I flatten everything to create a single composite layer. This prevents all of my adjustment layers and whatnot from being scaled separately.
Image Size
I prefer to keep my Flickr photos at 800 pixels on the long edge, so I’ll type in “800″ in the appropriate dialog field.
Convert to Profile
I work in Adobe RGB, so I need to convert everything to sRGB for the web.
Convert Mode
I also work in 16-bit mode, and JPEGs don’t support this. So I switch to 8-bit.
Save As
I didn’t like the results from the “Save for Web” option, so I just use a “Save As” now. Here, I specify that the image should be saved in a “Flickr Upload” folder located on my desktop. I don’t rename the image, so it retains its original name. I also save at a quality of 12 since there are no limits on storage space with Flickr.
Close
After I save the image, I have no need for it so I close it out.

Some of these events are specific to my personal preferences and my computer’s file structure, so if you’re following along with my example you’ll need to adjust a few values.
5. COMPLETE THE ACTION

So once you’re done with the sequence, its time to stop the action. Just press the “Stop” button at the bottom of the action palette and Photoshop will stop recording.
For some actions, this is the end of the road. But many of my actions are set to require input from the user at specific points along the way.
6. SET YOUR TOGGLE DIALOGS

http://blog.epicedits.com/wp-content/uploads/toggle-action-dialog.png
An action with no stop dialogs will run through the sequence of events without stopping or asking for anything. So if you have a step that requires some human input or uses a setting that must be adjusted for each photo, you must tell the action that this is the case. To do this, simply click on the box next to the step and you’ll see the icon appear.
When this box is active on a given step in the action, Photoshop will present you with the dialog box pre-filled as specified by the action. You’ll then have a chance to make adjustments to anything in that dialog before moving on. Once you hit “OK” for that dialog, the action continues as it normally would.
In the example of my “Flickr Horizontal” action, I don’t set any stops for the dialogs. I can do this because each time I use it I want to produce the same results. For my other actions such as “LAB Sharpening”, “LAB Saturation”, or “High Pass Sharpen” (as shown in the image above), I set stop points to adjust certain settings that vary between photos.
7. INSERT ANY MENU ITEMS

Inserting a menu item (via the pull-down menu) is similar to recording the action, but it forces a dialog that can’t be toggled off. When the action arrives at that menu item, you MUST interact with it to continue. These menu items also have no preset values like the recorded actions do, so you’ll get whatever shows up by default.
I personally don’t use menu items very often, but they can be useful for certain situations. If you record an action and you find that the presets from the action item are causing more work for you, delete that step and insert a menu item.
8. TEST AND REFINE

I usually don’t get my actions right the first time around unless they’re extremely simple. I find that if I run a few different Photoshop files through the action, I usually uncover some mistakes or find the need to insert additional steps to ensure the action runs smoothly. If you find a mistake with one of your steps, just select that step and “Record Again” (via the pull-down menu). Or if you want to re-order some steps, just drag them up or down the list until they land where you want them.
I’ve also noted a few quirks about running actions, such as error messages that can occur if something is not possible to complete. Or the fact that working with multiple files, renaming layers, and selecting layers are cumbersome tasks with actions because Photoshop is looking for specific file names or layer names each time the action is run.

Further tutorial on saving actions is available here

http://www.photoshopessentials.com/basics/photoshop-actions/page-17.php

Attached is a quick action for auto levels,contrast and colour adjustment of a stacked image in C3

telecasterguru
16-11-2009, 08:17 PM
Trevor,

Thanks for the detailed information. It will come in handy I am sure.

Unfortunately I tried to open the files link but it said that safari could not open it.

Frank

DavidU
16-11-2009, 08:27 PM
An ATN file?

troypiggo
17-11-2009, 06:15 AM
Good stuff Trevor, and your timing couldn't have been any better. I've just bought CS4, got through the initial familiarisation with the interface, and am now thinking about "what can I create actions for?". So far I've only added a couple of adjustment curves I use a fair bit, nothing complicated.

dugnsuz
17-11-2009, 08:58 AM
It's a photoshop action (ATN) file - has to be put in the Photoshop Actions folder in the Presets folder.

Path...
Program Files >>Adobe >>Adobe Photoshop >> Presets >> Photoshop Actions

troypiggo
17-11-2009, 09:05 AM
Actually I didn't think it mattered where you put them, because you can browse for them when loading them up. Obviously it does make sense to have them somewhere logical, but you can put them in your My Documents folder or wherever if you like. They're not executables, so path isn't as important I think.

TrevorW
17-11-2009, 11:10 AM
Anyone got any action files they have created please feel free to drop into this thread.

Thanks

troypiggo
17-11-2009, 07:35 PM
Haven't got any of my own worth posting. Yet. Still developing.

But assume most would be familiar with Noel Carboni's Astronomy Tools (http://actions.home.att.net/Astronomy_Tools.html)? I've had it for a while, still fiddling/learning.

Also found this cool one at Astro Anarchy (http://astroanarchy.blogspot.com/search/label/PS-actions). Star removal. You have to read some of his tutorials to make sense of it, but looks like it has great potential. I had a lot of fun playing around with this.

Not quite astro-related, but there are some great, free, actions at TheLight'sRight (http://www.thelightsright.com/view/PhotoshopTools). I particularly like the sharpening toolkit (http://www.thelightsright.com/TLRProfessionalSharpeningToolkit), and they have more than one, but also image resizer.

TrevorW
17-11-2009, 09:06 PM
Thanks Troy

Bassnut
17-11-2009, 10:01 PM
Troy

Ive seen Astro Anarchys work, very impressive, so I just now tried the star removal action you pointed to. wow, what a frantic thing that is :P . On a couple of images, it was very good, on others a specatular mess :D. I had a go with Noel Cabanies actions a while ago with mixed results too. These actions are very handy when they work, and seem very complex, way more thought in them than steps I have ever done, very clever. But as one would expect, they try and cover an average image, with minimal or no adjustments, but I found they often need lots of tweaking for a given image, and they are so complex, the required tweaks are sometimes hard to work out.

troypiggo
18-11-2009, 05:30 AM
I'm finding the "...As layer on top" action in Carboni's actions invaluable. Run whatever action you want, then run that one and instead of merging down whatever action you ran, it'll keep it as a separate layer. I then flick the layer on and off to compare what it did, maybe play with the opacity to reduce the effect, or just delete the layer if I didn't like it.

That star removal one is pretty cool. I'm going through his tutorial to see the method behind it. I figure that way if the action misses, can do it manually and tweak on the fly.

As I learn more and more about CS4 I have all these ideas for simple actions popping into my head. I'll post here as they develop.

Bolts_Tweed
18-11-2009, 10:13 PM
Trevor - What a great initial posting and idea for a thread. In the interest of altruism to get the ball rolling i've attached a couple I recorded in the last half hour. Written in CS2 so i dont know how they will work in later versions.

To give credit for the processes no. 1 is from jases posting on this forum (colour dodging), no 2 & 3 are channel enhancement procedures from Starizona. All are published free on the web so i dont think I have any copyright issues. They are fairly simple and I use them all the time to enhance faint nebulosity.

Some instruction is required:

Actions are:

1. Colour Dodge - does a full spectrun enhancement of weak data on a RGB image (or LRGB) - just open the image you want to enhance and click on go.

2. Red Channel Enhancement - If you have a image with a weak red channel use this to enhance the red channel (like Rosette but can be sueful on other multi coloured objects) - just open the image you want to enhance and click on go.

3. Blue channel enhancement - same as above for blue objects - works really well on things like (Pleiades and M31) - just open the image you want to enhance and click on go.

At the end you will have 2 layers in your image. The final layer opacity (at top right of your layers box)will be set to 40% - adjust this value to taste (lower the value if it is too strong and raise it if you want it stronger). Then flatten the image from the layers menu or by right clicking on the layer and selecting flatten image.

Alternatively you could use No 3 on something like M20 and layer mask the enhanced blue layer through if your blue is weak. Might right a layer mask set up action and ending if anyone is not familiar with masking.

Let me know if they need modifying or adjustment or plain dont work

Mark Bolton

TrevorW
18-11-2009, 10:25 PM
Thank you Mark they work fine in CS3

Bolts_Tweed
18-11-2009, 11:41 PM
Trevor - I dont know if I love you or hate you for teaching me how to make these actions :lol: - my OC behaviour hasnt let me stop developing them.

Heres some more and i'd definately like feedbackon how they work because I have tried to cover most images - I have pinpoint star refractor images and some bloated star older images and they work on these but I am not sure if they will work on all.

Forget the last lot they are included again so you dont end up with a heap of action sets with different names. As you know you can only save sets not individual actions.

4. is just another select stars action - I know its in Noels but it is the first step in the rest so I included it.

5, 6 & 7 are super unsharp masks to the method from Starizona in that they remove the stars and perform a mild, medium or strong mask on the image and then paste the stars back in afterwards so in theory you can sharpen the image without introducing star halos. No 7 is probably too strong but I give some tips in an included text file (also attached) how you can use the strong mask as a layer mask a bit like a poor mans multi layer deconvolution process.

Now I will go back to my other OC behaviours. Sry if anyone does suffer from it but I also check the door locks 6 times before going out. Got to make sure the wife cant get out to go shopping.

Thatll do for tonight but if these work i'll write a few more advanced ones later.

Mark

Bolts_Tweed
19-11-2009, 12:23 AM
Troy - just read your post - dont know if this the way noel does it but . The star selection and removal process is explained pretty well at

http://starizona.com/acb/ccd/software/ps_unsharp.aspx

It is the first few steps in their super unsharp masking process - it just uses the Select ->colour selection tool (click on fairly bright star), fuzziness adjustment to about 150 enough to include all stars, Select->Expand-> I use about 5 pixels, Save Selection (name it), Paste new Layer (Ctrl J), Select -> Load Selection (the one just saved), Filter -> Noise -> dust and scratches (play with setting to get all stars - start at about 6), ok, ctrl D (deselect) and they should be all gone (if they arent click on the layer you saved - im typing this from memory and cant remember if that should be off or on to remove them) - then you can do what you like sharpening etc or whatever then you just turn the layer back on (or off) again and your stars come back hopefully without halos if you unsharp masked.

From memory i think this is pretty close to the procedure. Its getting late. If it doesnt work let me know and i'll fire up PS and correct it tommorrow.

Mark

troypiggo
19-11-2009, 07:09 AM
Thanks Mark! I'll have a go through your actions and that star removal process shortly. Great stuff! I'm like you. Now I understand these action creation things a little better, I get all these ideas on how to make things better, automated etc and go crazy. Must. Control. Self...

Bolts_Tweed
19-11-2009, 11:56 AM
Gday troy

In teh light of day the only thing I can see I left out is mid steps like when I say Select -> Expand I mean Slect -> Modify -> Expand. Youy probably would find them anyway. Let me know how it goes

Mark

Bolts_Tweed
19-11-2009, 12:29 PM
Ive sent these to few mates and just incase someone isnt familiar with loading or activating actions I've summarised it below.

Also I'm not reall happy with the u/s actions - i've tried it on a few images and it obviously is dependant on image size, resolution etc. I'll make a set of 5 from 1 mildest sml pixel setting to 5 harshest - big pixel setting to try and cover a bit a range. If it doesnt work i've summarised the procedure below to Troy so you could do it manually.

M

*********************************** *********************************** ***********************


I am assuming you are using CS2 (later versions are similar but if you need to just search Load Actions in the Help file)

If so open your actions menu (Alt F9 or Window--> Actions pull down menu)

When its open click on the little arrow pointing to the right at the top to open the actions menu and select Load Actions

This will give you a standard windows open dialogue box and point it to where you saved the unzipped action file (Boltons Actions - A bit egotistical but what else can I call em - laugh - Maybe IIS Actions but we would need to include any others that come in;))

You will then see them in your action menu box (that you opened with Alt F9)
If necessary click on the little green arrow beside Boltons Actions so you can see them all.

Then just open an image in CS2 - select an action and click on the play button at the bottom of the Actions Box (little arrow pointing to the right at the bottom) then sit back and let them do their thing to your image. Most will either perform the action on a duplicate of the original or insert a new layer on top. Either delete the new image or the new layer if you dont like it. Then original wont be changed.

troypiggo
19-11-2009, 12:42 PM
Ooh, yeah. We could all contribute and come up with an "IIS Actions" collaboration.

Bolts_Tweed
19-11-2009, 02:35 PM
great idea.

I've modified the unsharp actions to work as follows :

Start Super Unsharp removes the stars and leaves the image ready for sharpening - remember this method should let you sharpen without inducing star halos (depends on star size etc but usually works).

When this action is finished you will have an image with no stars in it (maybe a few really big ones but that shouldnt matter).

You then manually run the unsharp mask routine of your preference and stength. I use Smart Sharpen but you can use whatever you like.

Once finished dont touch anything else - just run End Super Unsharp and that will put your stars back in and flatten the image.

Mark