17. Working with Automate Commands

Introduction

It’s great when you hear about new tips and tricks that will save time. But it’s never a good policy to shave time if it means sacrificing quality. Adobe Photoshop has come to the rescue with some great time-savers that will help you. The Automate commands give you the ability to streamline your workflow, and make short work of repetitive tasks.

Think of an automation as a batch of actions all rolled up into one powerful command. In the busy world of graphic design, with all the image processing you need to do on a daily basis, Photoshop’s Automate commands give you the ability to deliver consistent results, over and over again, with the click of a button.

The Automate commands let you process—through batch file processing—hundreds of image files with the click of a button. In addition, you can use commands to crop and straighten photos, resize photos, and merge photos together to create a panoramic or HDR (High Dynamic Range) image. Photoshop also gives you the ability to convert a multi-page PDF file into a Photoshop document.

In addition to using the automation commands in Photoshop, you can also use them in Adobe Bridge. The Tools menu in Bridge contains commands available with different Adobe Creative Suite programs, such as Photoshop or Illustrator. The Photoshop automation commands appear under the Photoshop submenu in Bridge’s Tools menu.

Working with Batch File Processing

Working with Batch File Processing

PS 8.2, 8.3, 8.4

There is nothing more exciting than working on a new creative project, and watching your designs come to life. Conversely, there is nothing more tiresome than having to apply a new creative concept or correction individually to 50 separate images. For example, you just spent three hours coming up with a procedure to color-correct an heirloom photograph, and the process took two filters and three adjustments. The photo looks great; however, you now have 50 other images with the exact problem. You could create an action, but you would still have to open each image and apply the action 50 times. The solution is to batch process the images after you have created the action. Batch file processing lets you apply an action to an entire folder of images, and all you have to do is click a button. Now, what could be simpler than that?

Work with Batch File Processing

Image Create a new folder, and then move all the images into the folder.

Important

These files must be image files. There should not be any other files, such as text files, inside this folder.

Image Create a second folder to hold the modified images (optional).

Image Open Photoshop (you do not need to open a document).

Image Click the File menu, point to Automate, and then click Batch.

Image Select from the following Play options:

Image  Click the Set list arrow, and then select the Set containing the Action you want to apply to the images.

Image  Click the Action list arrow, and then select the correct Action.

Image Click the Source list arrow, and then select an image source from the following: Folder, Import, Opened Files, or Bridge.

Image

Image Click Choose (available if Folder is selected as the source), and then select the location of the image folder.

Image Select the check boxes for any options you want:

Image  Override Action “Open” Commands.Select to use an open command embedded into the Action.

Image  Include All Subfolders.Select to batch process any images located in folders embedded in the main image folder.

Image  Suppress File Open Options Dialogs.Select to disable the File Open dialog box.

Image  Suppress Color Profile Warnings.Select to disable the Color Profile Mismatch dialog box.

Image Click the Destination list arrow, and then click None, Save and Close, or Folder.

Image Click Choose (available if Folder is selected as the source), and then select the destination of the modified images.

Image Select the Override Action “Save As” Commands check box to use a save command embedded into the Action.

Image If Folder is selected as destination, the File Naming options allow you to rename the modified files, and then select the Compatibility options you want: Windows, Mac OS or Unix, or any combination of the three.

Image Click the Errors list arrow, select an errors option, and then click Save As to save your error information, if necessary.

Image Click OK.

Image

Working with Conditional Mode Change

Working with Conditional Mode Change

PS 8.1

The Conditional Mode Change command lets you specify the conditions for changing the mode of an image in an action. When you create an action that changes modes, it can cause a problem when you run the action. For example, you create an action and one of the commands is to convert the image from RGB to Grayscale. Running the action on a file that is not RGB will cause an error. But, what if you want to use the same action to convert a CMYK image to Grayscale? You can if you make the mode change within the action using Conditional Mode Change. Using this option guarantees that you will never have a problem using an action to change the mode of an image.

Work with Conditional Mode Change

Image Open a document.

Image Start recording an Action.

Important

To make a conditional mode change, you must have a document open and an available Action to change.

Image Click the File menu, point to Automate, and then click Conditional Mode Change.

Image Select the check boxes with the possible modes for the source image; you can click All.

Image Click the Mode list arrow, and then select the Target mode to which you want the image converted.

Image Click OK.

Image

Image Add any additional commands to the action.

Image Click the Stop Recording button, and then save the action.

See Also

See “Building a New Action” and “Recording an Action” on pages 350-351 for information on action recording.

Using the Crop and Straighten Photos Command

The Crop and Straighten Photos command is a nifty way to quickly straighten multiple scanned images or make separate image files out of one image. For example, you have a photograph of two people standing side-by-side, and you want a separate image of each person. Or you have several scanned images that weren’t quite straight on the platen. The Crop and Straighten Photos command works best when the images in the document are separated by some white space. When you apply the command to an image, it looks for areas to divide based on shifts in color; no selection is required.

Use the Crop and Straighten Photos Command

Image Open a document.

Use the Crop and Straighten Photos Command

Image Click the File menu, point to Automate, and then click Crop and Straighten Photos.

Photoshop automatically creates separate images from the available image information in the active document, and then places the images into individual files.

Image

Did You Know?

You can control the Crop and Straighten Photos command through selection.Use the Rectangular Marquee tool to select a portion of the image before using the Crop and Straighten Photos command, and then Photoshop will work only within the selection.

Converting a Multi-Page PDF to PSD

Converting a Multi-Page PDF to PSD

PS 8.3

Photoshop’s list of automation features is impressive, and it gets longer and better with each new version of the program. One of the features that will come in handy is the ability to convert a multi-page PDF directly into multiple Photoshop image files. For example, you have this great Adobe PDF document that contains images you want to use in a Photoshop design. The PDF format is a versatile file format that can contain both vector and bitmap data, as well as electronic document search and navigation features. Some PDF files contain a single image, while other PDF files contain multiple pages and images. When you open a PDF file, you can choose which pages to open, as well as specify a specific rasterization process (how to convert the image from vector to raster). Although Adobe moved this process from the Automation panel to the Open dialog box, it still rates a spot in automation.

Work with Multi-Page PDF to PSD

Image Open Photoshop (it is not necessary to open a document).

Image Click the File menu, and then click Open.

Image Select a document in the Photoshop PDF format, and then click Open.

Image

Image Click the Pages or Images option to display PDF pages or images extracted from the PDF pages.

Image Select from the following Page Options:

Image  Name:Enter a name for the new document.

Image  Crop To:Click the list arrow, and then select from the various cropping options.

Image  Anti-aliased.Select the check box to use anti-aliasing smoothing techniques during the conversion.

Image  Width and Height.Specify the width and height for the image size in the measurement system you want. Select the Constrain Proportions check box to maintain proportions.

Image  Resolution.Choose a resolution for Photoshop to use when it rasterizes the PDF document.

Image  Mode.Click the list arrow, and then select a color mode for the output document.

Image  Bit Depth.Click the list arrow and then select 8- or 16-bit color depth.

Image Select the Suppress Warnings check box to prevent the operation from stopping on alert dialog boxes.

Image Shift+click to select contiguous pages, or Ctrl+click (Win) or Image (Mac) to select separate pages.

Image Click OK.

Image

Photoshop creates separate PSD files from each specified page within the PDF document, and places the text and/or images on a transparent layer.

Bit Depth.

Did You Know?

You can convert Photoshop images into PDF documents.Photoshop gives you the option to save the document in the Photoshop PDF file format. Photoshop documents saved as PDF files preserve shape information as vector data, and you have the option of preserving type layers.

Creating a PDF Document

The PDF (Portable Document Format) format from Adobe lets you create individual documents that can be opened by literally any computer or operating system using Adobe Acrobat Reader (free at www.adobe.com). Photoshop recognizes two types of PDF files: Generic PDF (multiple pages and images) and Photoshop PDF (single image only). If you need to create specialized PDFs, you can create your own PDF presets to make the job easier. Adobe provides standard presets to make PDF creation quick and easy, and you can even create your own customized presets.

Create a PDF Document

Image Click the File menu, and then click Save.

Image Enter a name for the file in the File Name (Win) or Save As (Mac) box.

Image Click the Format list arrow, and then click Photoshop PDF.

Image Click the Save In (Win) or Where (Mac) list arrow, and then choose where to store the image.

Image Select the save options that you want.

Image Click Save.

Image

Image Select from the general options:

Image  Adobe PDF Preset.Select from predefined compression options (Smallest File Size, recommended).

Image  Standard.Select from various PDF standards with which the file should be compliant (None, recommended).

See Also

See “Saving a Document” on page 28 for information on the save options in the Save As dialog box.

Image  Compatibility.Select a version of the PDF reader application with which the file should to be compatible (5.0, recommended).

Image  Description.Enter a new description, if desired.

Image Select from the other PDF options:

Image  Preserve Photoshop Editing Capabilities.Disabled for PDF presentations.

Image  Embed Page Thumbnails.Check to add thumbnails to the presentation (optional; creates larger files).

Image  Optimize For Fast Web Preview.Check to optimize for viewing on the Web (recommended).

Image  View PDF After Saving.Check to view the presentation after it’s created.

Image Click Compression to modify compression values (typically not required), Output to set color management and PDF/X (for prepress) options, Security to set passwords and print options, and Summary to review your settings.

Image To create your own presets, click Save Preset, enter a name, and then click Save.

Image  You can access the Adobe PDF Presets dialog box from the Edit menu. Click the Edit menu, and then click Adobe PDF Presets.

Image Click Save PDF to save your PDF document.

Image

Using Photomerge

Using Photomerge

PS 10.6

Ever wanted to create a panoramic photograph? Panoramas are those great-looking images that incorporate a wide view into one photograph. For example, you want to create a single photograph of the Grand Canyon, but the lens on your camera doesn’t go that wide. So you start at the left of the canyon wall, and take a photo. Then you move slightly to the right and take another photo, and another, until you have reached the far right canyon wall. So, now you have four or five separate images of the Grand Canyon, and you want to stitch them together into a single panoramic view. If you have Photoshop, you have what you need to make it happen.

Use Photomerge

Image Click the File menu, point to Automate, and then click Photomerge.

Image Click the Use list arrow, and then select from the following options:

Image  Files.Click the Browse button, and then select the images.

Image  Folder.Click the Browse button, and then select the folder containing all the images.

Image To quickly add currently opened files to the list, click Add Open Files.

Image To remove any images from the list, click the file name, and then click Remove.

Image Click one of the layout options:

Image  Auto.Analyzes the images and uses the Perspective, Spherical, or Cylindrical layout.

Image
Auto.

Image  Perspective.Creates a stretched or skewed effect on the side images.

Image  Cylindrical.Creates a bow-tie effect like an unfolded cylinder.

Image  Spherical. (New!)Aligns the layers as if mapped inside a sphere. Great for images that cover 360 degrees.

Image  Collage. (New!)Matches overlapping content and transforms source.

Image  Reposition.Aligns the layers and matches overlapping content without transforming source.

Image Select the Blend Images Together check box to create seams between the image borders and match the image color. Clear the checked box to apply a simple rectanglar blend to the images.

Image  Vignette Removal. (New!)To compensate for darkened corners, usually when using wide-angle lenses.

Image  Geometric Distortion Correction.(New!) Allows Photoshop to fix problems caused by wide-angle and fisheye lenses.

Image Click OK.

Photoshop merges the images into a single, panoramic document file.

Image

Did You Know?

You can use the following hints for the best results with Photomerge.For the best results, use the following rules of thumb when you take pictures. Overlap images by approximately 25% to 40%, don’t change the zoom distance, keep the camera level, stay in the same position, maintain the same exposure, and avoid using distortion lenses.

You can start the Photomerge command from Bridge.In Adobe Bridge, select the images you want, click the Tools menu, point to Photoshop, and then click Photomerge.

Image
Image

Merging Images to HDR

Image

PS 10.5

The Merge to HDR (High Dynamic Range) command allows you to combine multiple images or different exposures of the same image or scene (i.e., a bracketed exposure). This command takes the best elements of each photograph and combines them to create a single HDR image with more dynamic range than is possible with a single image, creating 32-bit high-quality digital images. Since several photos will be combined to create a single image, it’s important to place the camera on a tripod (so the camera won’t move between shots), and then take enough photographs (a minimum of 3) at different exposures to capture all the dynamic range of the scene. HDR enhancements in CS4 include faster, smoother exposure adjustments (New!).

Use the Merge To HDR Command

Image Click the File menu, point to Automate, and then click Merge To HDR.

Image Click the Use list arrow, and then select from the following options:

Image  Files.Click the Browse button, and then select the images.

Image  Folder.Click the Browse button, and then select the folder containing all the images.

Image To quickly add currently opened files to the list, click Add Open Files.

Image To remove any images from the list, click the file name, and then click Remove.

Image

Did You Know?

You can start the Merge To HDR command from Bridge.Select the images you want, click the Tools menu, point to Photoshop, and then click Merge To HDR.

Image Select the Attempt To Automatically Align Source Images check box to let Photoshop try to align the images together (always try this option first).

Image Click OK.

Image

Image If you did not check the option in step 4, specify any of the following options, and then click OK.

Image
Image

Image  Select Files.Select or clear the check box under each thumbnail to specify which images to use.

Image  Bit Depth.Click the Bit Depth list arrow, and then select a bit depth for the merged image.

Image  Histogram.Drag the slider to set the white point for previewing the merged image.

Image  Response Curve.Click the Automatic option to use tone curves to fine-tune HDR images after you have made the main adjustments you want.

Click Save Response Curve As to save current settings. If you have a saved file with response curve presets, click Load From File to select the file you want.

Photoshop attempts to combine the elements of all the images.

Image

Processing Multiple Image Files

Processing Multiple Image Files

PS 1.4, 1.5, 8.4

The Image Processor command in Photoshop allows you to convert and process multiple files without first creating an action, which is something you need to do with the Batch command. The Image Processor options make it easy to convert a set of files to either JPEG, PSD, or TIFF, or all three formats at the same time. When you take a lot of digital pictures, you can process the raw files all at once using the same options. If you are working on a collage with specific size and color requirements, you can use Image Processor to resize images to specific dimensions and embed a color profile or change the color mode to sRGB (the default working space for most Adobe color settings and the one recommended for web and digital camera images). In addition, you can include copyright metadata into any of the converted images.

Use the Image Processor Command

Image Click the File menu, point to Scripts, and then click Image Processor.

Image Click the Use Open Images option or click Select Folder to select the images or folder to process. You now also have the option to choose to include sub-folders. (New!)

Image Select the Open First Image To Apply Settings check box to apply the same settings to all the images.

This allows you to adjust the settings in the first image, and then apply the same settings to the rest of the images.

Image Click the Save in Same Location option or click Select Folder to select the location in which to save processed images. You also now have the option to keep the original folder structure when saving. (New!)

If you process the same file multiple times and save it to the same location, each file is saved with a unique file name so it’s not overwritten.

Image

Image Select from the following options:

Image  Save As JPEG.Saves image in JPEG format.

Image  Quality.Enter a quality value between 0 and 12 (3 or 4 recommended for web graphics).

Image  Resize To Fit.Resizes the images to fit the width and height in pixels.

Image  Convert Profile To sRGB.Converts the color profile to sRGB; select the Include ICC Profile check box to save it.

Image  Save As PSD.Saves images in the PSD Photoshop format.

Image  Maximize Compatibility.Saves a composite of a layer image for programs that can’t read layered images.

Image  Save As TIFF.Saves images in the TIFF format.

Image  LZW Compression.Saves TIFF files using the LZW compression scheme.

Image Select from the following Preferences options:

Image  Run Action.Runs a selected Photoshop action.

Image  Copyright Info.Includes file information entered in the IPTC copyright metadata.

Image  Include ICC Profile.Embeds the color profile with the saved image files.

Image To save your settings, click Save, enter a name, and then click Save.

Image To load saved settings, click Load, select the settings file, and then click Open.

Image Click Run.

Image

Using the Fit Image Command

Using the Fit Image Command

PS 1.4

The Fit Image command is a quick way to adjust an image to a specific width and height without changing its current aspect ratio. While the same process can be accomplished using Photoshop’s Image Size dialog box, this way is quicker and works more reliably when used to change the size of an image within an action. Like another one of the Automate commands called Conditional Mode Change, the Fit Image command is designed to work best when incorporated into an action. When the action is executed, the Fit Image command will adjust the image size without opening any dialog boxes or requiring you to answer any formatting questions.

Use the Fit Image Command

Image Open a document.

Image

Image Click the File menu, point to Automate, and then click Fit Image.

Image Enter a Width and Height for the transformation.

Photoshop maintains the image’s aspect ratio.

Image Click OK.

Use the Fit Image Command
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset