2011年2月21日星期一

How To Make Hundreds of Complex Photo Edits in Seconds With Photoshop Actions

sshot-238

Have a huge folder of images needing tweaks? A few hundred adjustments may seem like a big, time consuming job?but read one to see how Photoshop can do repetitive tasks automatically, even if you don?t know how to program!

Photoshop Actions are a simple way to program simple routines in Photoshop, and are a great time saver, allowing you to re-perform tasks over and over, saving you minutes or hours, depending on the job you have to work on. See how any bunch of images and even some fairly complicated photo tweaking can be done automatically to even hundreds of images at once.

When Can I use Photoshop Actions?

sshot-162

Photoshop actions are a way of recording the tools, menus, and keys pressed while using the program. Each time you use a tool, adjust a color, or use the brush, it can be recorded and played back over any file Photoshop can open. While it isn?t perfect and can get very confused if not set up correctly, it can automate editing hundreds of images, saving you hours and hours if you have big jobs with complex edits.

sshot-163

The image illustrated above is a template for a polaroid-style picture frame. If you had several hundred images, it would actually be a simple matter to use Photoshop Actions to create hundreds of new images inside the frame in almost no time at all.

sshot-165

Let?s take a look at how a simple folder of images and some Image editing automation can turn lots of work into a simple and easy job.

Creating a New Action

sshot-167 sshot-166

Actions is a default part of the ?Essentials? panel set Photoshop begins with as a default. If you can?t see the panel button under the ?History? button, you can find Actions by going to Window > Actions or pressing Alt + F9.

sshot-168

Click the sshot-167 in the Actions Panel, pictured in the previous illustration on the left. Choose to create a ?New Set? in order to begin creating your own custom Actions.

sshot-169

Name your action set whatever you want. Names are not relevant, you?ll simply want to make it obvious that you have created it. Click OK.

sshot-170

Look back in the layers panel. You?ll see your new Set of actions has been added to the list. Click it to highlight it before going on.

sshot-171

Click the sshot-167 again to create a ?New Action? in your new set.

sshot-172

If you care to name your action, go ahead. Name it after whatever it is you?re hoping to do?change the canvas size, tint all your pictures blue, send your image to the printer in high quality, or run multiple filters on images. The name is for your own usage, so do what suits you best.

sshot-173

Note that you can simplify your process by creating shortcut keys for your actions. If you plan to do hundreds of edits with your actions, this might be a good idea. If you plan to record an action to use every time you use Photoshop, this might even be an invaluable step.

sshot-174

When you create a new Action, Photoshop automatically begins recording everything you do. It does not record the time in between steps, but rather only the data from each step. So take your time when recording and make sure you create your actions the way you want them.

The square button stops recording, and the circle button starts recording again. With these basics ready, we can take a look at a sample Action.

Recording a Sample Action

sshot-165

Photoshop will remember everything you input into it when it is recording, even specific photographs you open. So begin recording your action when your first photo is already open.

sshot-174

Once your first image is open, click the record button. If you?re already recording, continue on.

sshot-216

Using the File > Place command to insert the polaroid image can be easier for Actions to deal with. Photoshop can record with multiple open files, but it often gets confused when you try it. Keep your recordings as simple as possible to ensure your success.

sshot-217

When the image is placed in, simply press enter to render it.

sshot-219

Select your background layer in your layers panel. Your recording should be following along with no trouble. Double click this layer.

sshot-220

Double clicking your background layer will create a new layer from it. Allow it to be renamed ?Layer 0? and press OK.

sshot-221

Move the ?polaroid? layer to the bottom by selecting it and dragging it down below ?Layer 0? in the layers panel.

sshot-223

Right click ?Layer 0? and select ?Create Clipping Mask.?

sshot-224

The JPG image is cropped to the layer below it. Coincidentally, all actions described here are being recorded perfectly, and are reproducible. Cursor actions, like the eraser, brush, or bucket fill don?t record well, because the computer uses your mouse movements and coordinates, which may need to change from photo to photo.

sshot-225 sshot-226

Click the sshot-239 to set your Photograph layer to a ?Screen? blending mode. This will make the image disappear when it runs over the white parts of the polaroid image.

sshot-229

With your image layer (Layer 0) still selected, navigate to Edit > Transform > Scale. You can use the mouse to resize your Layer 0, but Actions work better with absolute numbers. Visit the Width and Height adjustments in the top options panel. Click the chain icon to link them together, and adjust them numerically. Depending on your needs, you may need to use more or less than 30%.

sshot-230

Your image will resize to your specifications. Press enter to render, or click the check box in the top right of your application.

sshot-231

Ctrl + Click on your bottom layer, or ?polaroid? in this case. This creates a selection of the bottom layer.

sshot-198

Navigate to Image > Crop in order to crop down to your bottom layer selection

sshot-199

Your image is now resized to your bottommost layer, and Photoshop is still recording to that effect.

sshot-200

For additional effect, we can navigate to Image > Image Rotation > Arbitrary to rotate our image by a small tilt.

sshot-201

Choosing 3 degrees clockwise , we click OK to render our choice.

sshot-202

Our image is rotated, and this step is recorded.

sshot-203

Photoshop will even record when you save your files. With your recording still going, find File > Save As.

sshot-204

You can easily tell Photoshop to save in a new folder, other than the one you have been working in, so that your files aren?t overwritten.

sshot-205

Navigate to any folder you wish, but do not change the filename. If you change the filename, Photoshop will record that name, and save all your images under whatever you type.

sshot-206

However, you can change your filetype without recording an absolute filename. Use the pulldown tab and select a different filetype?in this instance, PNG.

sshot-207

Simply click ?Save? to create a new PNG based on your actions. Photoshop will record the destination and the change in filetype. If you didn?t edit the name of your file, it will always use the variable filename of any image you open. (This is very important if you want to edit hundreds of images at once!)

sshot-210

Click File > Close or the red ?X? in the corner to close your filetype. Photoshop can record that as well.

sshot-211

Since we have already saved our image as a JPG, click ?NO? to not overwrite your original image. Photoshop will also record your choice of ?NO? for subsequent images.

sshot-212

In your Actions panel, click the stop button to complete your action. You can always click the record button to add more steps later, if you want.

sshot-232

This is how your new action looks with its steps expanded. Curious how to put it into effect? Read on to see how simple it is to use that recording you just made.

Editing Lots of Images with Your New Action

sshot-233

Open a large number of images?as many as you care to work with. Your action should work immediately with every image on screen, although you may have to test and re-record, depending on how you did. Actions don?t require any programming knowledge, but often can get confused or work in a counter-intuitive way. Record your action until it is perfect. If it works once without errors, it?s likely to work again and again!

sshot-235

Find the ?Play? button in your Actions Panel. With your custom action selected, click ?Play? and your routine will edit, save, and close each file for you. Keep bashing ?Play? for each open file, and it will keep saving and creating new files until you run out of work you need to do.

sshot-236

And in mere moments, a complicated stack of work is done. Photoshop actions can be very complicated, far beyond what is illustrated here, and can even be combined with scripts and other actions, creating automated creation of potentially very complex files, or applying filters to an entire portfolio of digital photos.


Have questions or comments concerning Graphics, Photos, Filetypes, or Photoshop? Send your questions to ericgoodnight@howtogeek.com, and they may be featured in a future How-To Geek Graphics article.

Image Credits: All images copyright Stephanie Pragnell and author Eric Z Goodnight, protected under Creative Commons.


Got an opinion to share? Click here to join the discussion

Discover Card Motiva Application

Latest Features How-To Geek ETC


fix pc slow pc fix fix pc errors

没有评论:

发表评论