Simple, fast and convenient batch photo processing. Batch processing of photos in Photoshop

Hi all! Today we will deal with one of the main automation functions in photoshop, and also how to apply them in practice. We will create complex action, based on it we will build a Droplet and perform a batch editing operation with the entire folder.

Part I - Creating an Action

Step 1 - Let's get started!

First of all, transfer all the images that need to be processed into one separate folder. Open any of these photos.

We use it to create Actions in Photoshop.

Step 2 - Setting up Action.

To begin, open the Actions window (go to the following path Window> Actions or press Alt + F9). A window will open to create new group Action which needs to be given an arbitrary name.

After creating the group, let's create a specific action. Click on the “create new action” icon at the bottom of the Action panel. Let's call the new action "Vintage Halftone".

After creation, pay attention to what you have in the bottom panel of the window Actions Three small icons appeared: stop, recording and playback. To continue, you need to make sure that the recording icon is active.

Step 3 - Resizing the Image

Let's build an action. Once you've opened your image and activated the recording icon, let's start recording the steps.

The first step is to resize our photo. Since we plan to use images in a web gallery, we need to reduce their size. To do this, go to the following path Image> Image Size and set the width to 700 px and check the box - maintain proportions. In addition, you must check the boxes Resample Image and choose Bicubic Shaper (best for reduction).

Step 4 - Copy the image.

Now, we need to reset the colors we are painting with. To do this, you can use the key D on keyboard.

Do not change colors using the color picker or eyedropper.

Then double-click on the "Background" layer in the Layers palette. And click "OK"
Drag the layer to the icon "Great new layer", to create a copy of the layer.
Make sure "Layer 0 copy" is selected and you can proceed to the next step.

Step 5 - Add Diffuse Glow

Add a Diffuse Glow filter to the “Layer 0 copy” layer. This will increase the lighting and give a dramatic look to the photo. Let's move on to the next path Filter>Filter Gallery and choose Distort>Diffuse Glow. Here you need to set the value as shown in the screenshot below, and click OK.

Step 6 - ChangeOpacityAndMerge Layers

Reduce the opacity of the “Layer 0 copy” layer to 75%.

To change the opacity of a layer, it is better not to use the slider, because when changing using the slider, Photoshop records each step by each percentage (100, 99, 98, 97 ... 75) and we do not need this.

The resulting layer should be called “Layer 0 copy”.

Step 7 - Gaussian Blur Filter

Duplicate the “Layer 0 copy” layer as we did earlier (step 4).

Make sure that the layer “Layer 0 copy 2” is selected and go to the following path: Filter> Blur> Gaussian Blur, set the radius to 2 pixels and click OK.

Step 8 - Change Blending Mode copies.

Change the Blending Mode of the “Layer 0 copy 2” layer to Overlay.

If you want to experiment with different modes mixing, click on the Stop button in the Actions window. Then click Record, and select the desired blending mode.

Set the opacity value to 70%.

Step 9 - Create a Layer Fill

Now, we need to add a black background to our work.
To do this, follow the following path: Layer >New Fill Layer > Solid Color, click OK and select color #000000.

Move the “Color Fill 1” layer to the very bottom.

Step 10 - Add a Layer Mask

Click on the “Layer 0 copy” thumbnail and go to the following path: Layer > Layer Mask > Hide All.

Step 11 - Select the Layer Mask

Now we will create a random stroke on our images.
After creating the layer mask, we must click on its thumbnail and then select everything by pressing the combination Ctrl+ A on keyboard.

This important step, if you do not click on the layer mask thumbnail, you will end up with the wrong result

Also, when you select everything, you cannot use the Marquee Tool and make a random selection. If you do this, Photoshop will only store the coordinates as exact numbers for that specific image, and it won't work on another photo.

Step 12 - Selection Transformation

Let's choose Marquee Tool in the tool palette. Right-click on the selection and select the option Transform Selection.
You should pay attention to top panel, there are two values ​​W and H (these are width and height, there should be a value of 100%). Click on the label with the small chain in the middle and change the values ​​to 95%. Thus, we reduced the selection area by 5%. Click on the checkbox and apply the transformation.

Step 13 - Create a Custom Border

Let's change the selection arbitrarily.

Make sure the "Layer 0 copy" mask is selected.

Then we go along the following path: Select>Refine edge, and set the value as shown in the screenshot below and click OK.

You should end up with something like this.

If you are working with a different image size, you should play around with the Refine edge values ​​a bit.

Step 14 - Fill the Selection

Now fill the selected area with white.

Reset the colors with the D key. Then select the Marquee tool in the tool palette, click right click mouse and select Fill… In the dialog box, set the settings as shown in the screenshot below.

Remove selection by pressing combinations Ctrl+ D.

Step 15 - Copy the actions

Now we need to repeat the process of creating a custom border (steps 10 to 14), but this time on the “Layer 0 copy 2” layer.

To simplify your work, these actions can simply be duplicated in the “Actions” window.
In order to copy the steps, you first need to select "Layer 0 copy 2". Stop recording.

Then we select (in the Actions window) all stages of the process for creating boundaries, i.e. from “Set Selection” to the step before Select “Layer 0 copy 2”.

Click on the button on the right and select Duplicate. They will be copied.
Now the selected actions can simply be dragged below the “Select ‘Layer 0 copy 2’” step. Then we start playing the selected fragments.
Now, click on the last step in the “Actions” window and start recording.

Step 16 - Halftone Pattern

Click on the layer mask thumbnail “Layer 0 copy.” Next, we go along the following path: Filter>Filter Gallery, and move on to Sketch>Halftone Pattern here you need to set the values ​​shown in the screenshot below, and then click OK.

Step 17 - Add a Photo Filter

Select "Layer 0 copy 2" in the Layers palette and then go to Create New Fill or Adjustment Layer > Photo Filter, select a color (#957345) and set the Density to 100%. Click OK.

Step 18 - Hue/Saturation

Step 19 - Fill new layer

Let's create a new layer in the layers palette and place this layer above all other layers. Let's leave it as "Layer 1." Then press the key combination Ctrl + A (select all) on the keyboard, then select the Marquee tool, right-click and select “Fill...” use the foreground color. Everything should be filled with black.

Step 20

Now let’s add a Pattern Overlay effect to “Layer 1”. I recommend using "Gray Granite" from the Grayscale Paper pack.

Step 21 - Rasterize the Layer Effect

Let's create another layer.
After creating it: Shift+click on the “Layer 1” layer in the layers palette to select both layers. And press the key combination Ctrl + E to merge the selected layers.

Step 22 - Change the Blend Mode and Opacity

Change the Layer 2 blending mode to Multiply and set the opacity to 75%.

Step 23 - Flatten image

Select all layers in the Layers palette. Right-click and select Flatten image. Finally, in the Actions window, you can click Stop.
That's all! Now you can apply these actions to any images.

End of Part I – check!

It's worth checking how correctly our actions work on other images. To do this, open the image, find our action (Vintage Halftone) and press the play button.

Before continuing, you should save the action itself.
To do this, select our set of actions in the Actions window and then go to the advanced options (icon at the top right) and select Save Actions... Enter a name for your action and save it anywhere.
After saving, you can proceed to batch editing.

Part II - Batch Editing

Step 1 - Create a Droplet

Droplets apply actions to one or more photos or even a folder; to do this, you need to drag them onto the droplet icon.
You can save the droplet anywhere and use it as many times as needed. To create a droplet, go to the following path in the menu File > Automate > Create droplet... There you can choose many options.

First select your original images folder and save the droplet there. For the Play option, select your set and the Vintage halftone action. It is better to select a different folder for the destination folder.

Additionally, you can customize the name of the resulting image by adding custom text, number sequence, extension, and select maximum compatibility. Once you have configured the droplet, click OK.

Step 2 - Working with the droplet.

Now open your photos folder. Select and drag the desired photos onto the droplet icon. We will see that Photoshop will automatically edit the selected photos and save them to the specified folder.

Conclusion

Automating actions in Photoshop can sometimes save a lot of time. Future designers, webmasters and photographers should be able to use it.

I advise you to try these techniques to save your time.

No related posts.

(0 votes . Average 0 of 5)


For example, in modern Canon cameras By default, the mode for saving photos in the best quality can be set, and then each photo will take from three to five megabytes. For most people, the resolution does not exceed 1920 x 1080, and this is only 2 megapixels, while even inexpensive cameras can take photos with a quality of 16 megapixels: 4608 x 3456.

Modern phones have also learned to take high-quality photographs high resolution, sometimes even better quality than inexpensive cameras. But still, people prefer to use digital cameras, since repairing cell phones with a good camera is much more expensive if it falls and breaks.

To send via the Internet or upload to a website, photographs should be processed by reducing the resolution and increasing the compression ratio. Anyone can handle this task, but doing all these operations manually, you will spend several days processing. The way out of the situation is a program for batch processing of photos, which, after simple settings, will make processing much faster in automatic mode.

Batch Processing photos with some programs allows you to solve a number of problems at once:
— change size;
— rename according to template;
— expand the photo;
— change brightness.

This list can be continued further, but in our case it is not advisable to apply sets of certain changes without first selecting photographs. We are only interested in one thing now, changing the size of the photo, and this change can be applied to all the pictures you have at once. We will look at batch processing of photos using a small example free program IrfanView, which is mainly used by . You can download the program and the crack for it on the website www.irfanview.com.

After opening the program, in the “File” menu, select “Convert / rename a group of files...” and make the settings in the window that appears.

We are asked to choose three options:
— group transformation;
— group renaming;

We select the third option, add our photos to the list of processed ones and proceed to the settings for batch photo processing.

We configure the conversion parameters to the format we need.

Let's install largest size the long side of the resulting photograph.

We set a template for renaming photos and indicate the path to save the processed photos.

All basic settings have been made and you can safely press “Start”. The same batch processing of photos and pictures with similar settings can be done by free programs such as XnView, FastStone Image Viewer and many others. After processing, the total volume occupied by photographs can be reduced by up to ten times. This depends on the quality settings you choose for your original photos.

When a novice photographer is faced with the need to process large quantity photographs, the question inevitably arises: How to reduce the time spent on processing, how to automate routine operations?

To do this, the program’s arsenal includes Adobe Photoshop There are several tools: operations or actions, scripts or scripts, and droplets.

Operations, otherwise called action games, macros or macro commands are recorded and saved actions on an image that can be applied to another image and also used in batch processing. Actions are also the basis for creating droplets.

Droplet is a small application, a kind of program that automatically processes all images dragged onto it. The droplet icon can be placed, for example, on the desktop and folders with images can be dragged onto it for processing.

Scripts or scripts are also programs, but written in one of scripting languages programming. The use of scripts allows you to automate operations for which it is impossible to write an action, that is, the capabilities of scripts are much wider. The only negative is that to write scripts you need to master certain programming languages, for example, Java Script.

In this article we will record a simple action and look at how to use it in batch processing using the command Image processor

As an example, let's take the method of toning photographs using color fill in blend mode Hard light. Here is the original photo

First, let's create a set into which we will place the operation to be recorded. To create a set, click on the folder icon in the Operations palette. In the dialog box that opens, enter the name of the set.


Now, with active typing, click on the icon for creating a new operation

In the dialog box that opens, enter the name of the operation. If necessary, assign a color and keyboard shortcut so you can quickly launch the operation. Click Write down to start the recording process. Now in the palette Operations The recording icon will be active and turn red.


Before you start recording, it is advisable to plan all the steps and write them down on paper. A well-planned action works without errors and its stability does not depend on which version of the program is used, Russian or English. A properly recorded action will work in any environment. If this is not the case, it means that methodological errors were made during planning and recording, for example, the names of layers or channels were written down.

Now let's create an adjustment layer Color. To do this, click on the icon for creating an adjustment layer in the palette Layers, then select a layer from the list Color.

In the dialog box that opens, select the desired color. It is necessary in advance, even when preparing for recording, to write down the values ​​of this color along the RGB channels, so that you can then enter it and immediately get the desired color.


Change the layer blend mode to Hard light

We will get something like this

Now you need to weaken the effect of the correction layer on the skin. Skin is known to be lightest in the red channel of the image. Let's make the adjustment layer mask active. To do this, press the key combination CTRL+\. The active layer mask will be surrounded by a frame

Now let's load the red channel of the image onto the mask. To do this, go to the menu Image - External channel. In the dialog box that opens, set the following settings Layer - Background, since it is from the background layer that we will use the red channel. Channel - Red, you need to check the box on the right Invert, since for the mask we need just the inverted red channel, Overlay - Normal, Opacity - 100%. After completing the settings, click OK. The adjustment layer's effect is now rendered through a mask based on the inverted red channel, which looks like this:


We got a slight toning effect on the image

You can now stop recording the action. Then, returning the initial state images using a palette Story, you need to check the operation of the action. Now it can be used for batch processing.

Batch processing is best done using a script Image processor. It can be found in the menu File - Scripts - Image Processor.


Or, which is much more convenient, you can run the image processor from the module Bridge, having previously selected photos for processing in it. In Bridge Image processor is in the menu Tools -Photoshop - Image Processor.


Set Batch Processing Options in the Dialog Box Image processor is not difficult. You need to select the location to save the files, the format and quality of saving, as well as a set of actions and the action itself that needs to be applied to the selected images.


Batch file processing is indispensable when working with big amount images that require the same type of editing. Almost any routine operation related to processing (batch mode) can be completed much faster this way.

For graphic formats possible various options transformations: from changing the image size and format, adding a watermark and text to applying effects and filters. It is noteworthy that many image viewing programs already have similar functions built into them. In addition, as an alternative there are individual programs for processing - converters.

Next, we will consider methods of batch processing of images according to the level of complexity from the simplest to using the functions of such packages as Adobe Photoshop and Adobe Lightroom. At the end of the review - comparison table(Table 1) and conversion performance test (Diagram 1).

Image Tuner

A simple program that works on the “one window” principle and is not too complicated with settings. Files for processing are added on the left side of the window, and conversion parameters are indicated on the right. A preview is available by clicking on the image thumbnail.

Among the transformation options are changing the hue, size, orientation of the image, and adding a watermark. There are filters available, but they are so simple that they don’t even have settings and for some reason are hidden in the “Resize” section. Half of the settings are in English, the rest is translated into Russian.

The number of formats for saving is small - only 5. At the input, Image Tuner supports such popular formats as JPEG, BMP, PNG, GIF, TIFF, as well as RAW, NEF and others.

Thus, a very simple converter for the most basic processing images.

The IrfanView viewer, while free and small in size, supports and includes converter functions, accessible through the “Batch Conversion/Rename...” menu. You can choose from one of three modes: batch renaming, conversion and mixed.

About 20 formats are available for saving (the “Output format” menu), although the parameters are not available for each of them.

The selection of other transformations is only possible when activating “Use advanced options...” by clicking the “Advanced” button. Settings allow you to resize, crop the image, flip horizontally or vertically, add a watermark - a standard set for a graphics viewer.

However, in practice it becomes clear that the “advanced” options are not at all intuitive: the thing is that there is no preview window (the preview in the main window refers to the original image). Of course, you can crop a photo or change its size pixel by pixel. How to deal with filters for adjusting brightness, balance and other color parameters when you need to specify numbers? Based on the above, after applying the transformations and exiting “Advanced”, the changes can only be seen after the conversion is complete. But a test mode is available for batch renaming of files.

Thus, call IrfanView convenient converter images are not allowed. It can only be used for basic transformations, which do not require any preliminary consideration: changing the image orientation, size and saving format.

AVS Image Converter is part of the AVS4You suite of image processing programs. Apparently, that’s why the 27 MB distribution kit (which is not so small for a converter) includes auxiliary utilities Software Navigator and Update Manager.

There are 8 supported image formats for recording, and a little more than 20 for reading. For processing, you can import photos from Flickr or Facebook accounts (after prior authorization).

The graphical interface is friendly to the inexperienced user: some functions are simplified or replaced by presets. When resizing an image, presets are available for different monitors and standard photo proportions, which is especially useful when publishing on the Internet.

There are few conversion settings (the “Correction” tab): changing brightness, contrast, color temperature; blur/sharpen effects, adding texture. The last tab is “Watermark”, which allows you to overlay an image or text on a photo.

FastStone Photo Resizer

Most of all, the batch conversion here is reminiscent of IrfanView. But, unlike the latter, FastStone Photo Resizer is not so “hostile” towards the user and provides convenient advanced options.

The interface is divided into two parts - which is not very rational, since the area for selecting files takes up most of the workspace.

After adding images to the conversion queue, you can specify the output image format (“Output Format”) and the saving folder (“Output Folder”).

To access transformation tools, the “Use Advanced Options (Resize...)” option is activated. The set of transformations is purely basic: resizing, perspective, adding text, a watermark, a frame. Settings can be saved or loaded from a configuration file, just like in most reviewed programs. There is no viewing window.

IN separate tab“Batch Rename” is a tool for batch renaming files. Besides standard shift name by mask, the “Search and Replace” function is interesting; with its help it is easy to correct the names of files without completely changing the name.

XnConvert is a spin-off from the popular image viewer XnView. In fact, all the same actions performed in the XnConvert environment can be performed in XNView (as discussed below), however, the standalone converter has a number of differences. First of all, it is not intended for viewing. On the one hand, nothing distracts from the functionality. On the other hand, if you need to find out the most basic information about the source file, you have to turn to another viewer program.

To begin working with the program, you need to specify the files to be processed (drag and drop is supported, you can also specify using buttons). Please note that at the top there are columns for sorting. When you click on any of them in context menu There are many other options to choose from - the list is huge. However, it would be more convenient if the files were displayed in the form of a table rather than thumbnails - then it would be convenient to view information about source files, otherwise it simply does not exist, and the sorting is somewhat “conditional” in nature - it is not clear what it is for.

The main tab where the list of transformations is collected is “Actions”. For a free program, the number of settings is pleasantly surprising. Transformations are divided into 4 groups:

  • Image - for the most part, working with transformation and file properties.
  • Correction - working with levels, color.
  • Filter - applying blurring, sharpening, and changing focus effects.
  • Miscellaneous - for the most part, all the same effects.

The output data tab specifies options for saving processed files: name mask, location and graphic format. For popular formats (JPG, GIF, PNG, etc.) it is possible to specify additional saving options. There is an inconspicuous, but very useful option for export - you can upload processed photos to a Picasa or Flickr account, package or send via FTP or email.

Import/export of scripts (transformation settings) are available at the bottom of the window, the “Load script” button.

Also available for reading great amount formats - more than 500 (of those supported by the XNView viewer), with the caveat that specific ones require the installation of GhostScript or a CAD plugin.

Briefly about the possibilities of batch photo processing in XnView. The settings window can be called up through the “Tools - Batch Processing...” menu.

First of all, the interface is different from XNConvert. It consists of only two tabs, the first one specifies the format and saving options. In the second tab there is a list of transformations that, to activate and configure, need to be added to right side window. The ability to save scripts is also provided, but the format is not compatible with XnConvert: here XBS, in XNConvert - BAT.

Setting up conversions in Photo Converter

Adobe Photoshop

Download page

Of course, Adobe Photoshop graphics package has built-in necessary tools By batch conversion photo. Current on this moment version - CS6, this review covers CS5. Processing can be done using actions, a Batch operation (“File - Automate - Batch…”) or an Image Processor script (“File - Scripts - Image Processor…”).

First way

First, through the Actions palette, an action is recorded that will be applied to each image. It is best to take a “test sample” for this purpose. On this step the list of possible transformations is limited only by Photoshop tools. Next, the Action is saved to a specific Set. Once finished, the action can be edited anywhere: for example, optimized by removing unnecessary actions.

To mass-apply an action, after recording and editing it, you need to go to the “File - Automate - Batch...” menu. In the “Play” settings group, the desired action is selected, the source and destination folder are determined. Additionally, you can specify a mask for naming files.

Second way

Most often, the second processing method using the Image Processor script will be more acceptable. It is convenient for performing such simple actions, such as changing the format or resizing the image. You can access the settings through the menu “File - Scripts - Image Processor...”. The convenience of the approach is that there is no need to record the action. All other settings are almost the same as the above method. Saving is only possible in JPEG/PSD/TIFF.

ProgramTerms of distributionFunctionalityFormats
Filters/effectsPreviewReadingRecord
Image TunerFreewareYesYes30+ 5
IrfanViewFreewareYesNo80+ 20+
AVS Image ConverterSharewareYesYes20+ 8
FastStone Photo ResizerFreewareNoYes30+ 500+
XnConvertFreewareYesYes500+ 30+
XnViewFreewareYesNo500+ 30+
Photo Converter (Pro)trialYesYes400+ 30+
Adobe PhotoshoptrialYesNo JPG
Adobe LightroomtrialYesNo 3

Converting images 4288×2848 → 1024×680, JPG format 100% (all settings are set to default, quality 100%), conversion algorithm and progressive method are disabled.

Diagram 1. Comparison of processing speed in image resizing mode

It was not possible to determine the speed of operation in the Photo Converter program, since the shareware version only allows processing of 5 images.

04/07/16 4K

In this article you will learn how it happens batch photo processing and how to apply it to multiple images.

What will we create?

We'll create a Photoshop operation that resizes our images to 1000 pixels, and then apply this operation to multiple images at once. Photoshop automation features such as operations and batch processing have been available for a long time, so you can complete the tutorial in Photoshop CS3 and newer versions:

Resources

Images for processing « Distressed Paint Overlays for Your Graphics»

Step 1

First let's create new document size 2000 by 1500 pixels. This will give us a workspace to create an operation for batch processing of photos in Photoshop:

Step 2

Go to Window > Actions to open the Actions panel. Click on the folder icon " Create new set "(Create New Set) at the bottom of the Actions panel and name the set " Resizing Actions" You can move sets and operations around the panel by clicking and dragging them:

Step 3

Click on the created set to select it. We will create our operation inside this set to save it for later use. You cannot save actions outside of Photoshop and open them on another computer unless they are in a set.

Click on the button Create a new operation» ( Create New Action) and name the operation "1000PX Wide" (" Width 1000 pixels»):

Step 4

Click "Record" ( Record) to start recording your operation in this batch photo processing program. Everything you do now will be recorded operationally for later use in batch processing. Go to menu Image > Image Size and set the width to 1000px. Make sure the boxes next to " Scale Styles» ( Scale Styles), « Maintain proportions» ( Constrain Proportion), "Interpolation" ( Resample Image).

Set the resampling drop-down menu to " Bicubic automatic» ( Bicubic Automatic). Click OK. Don't worry about the document size settings, since the operation only records the values ​​for the label fields, the width value we changed, and the resampling settings in the dropdown menu:

Step 5

Now we need to save our image into the operation we are recording. Otherwise, we would not write down the “Save As” command ( Save As) in the operation, but batch processing requires this to export the correct file type. Go to menu File > Save As and save blank document like JPEG. Check the box " Embed color profile » ( Embedded Color Profile). Click "Save" ( Save).

It doesn't matter where you save the image while recording the operation because we will define the destination folder where the batch of images will be saved later, but you should definitely click the "Save" button to define the file type in the operation for Photoshop Batch Photo Processing:

Step 6

Go back to the action panel and click on the “Stop” icon ( Stop). Our operation is ready! See the image resizing and saving sequence we followed? It's simple:

Step 7

Go to File > Automation > Batch Processing to open the batch processing window. Select " Resizing Actions» from the “Set” drop-down menu ( Set) And " 1000PX Wide» from the menu «Operation» ( Actions):

Step 8

Click "Select" ( Choose) under “Source: folder” ( Source: Folder) and select the Distressed Paint Overlays folder where you saved it. We will resize these images:

Step 9

Leave the field " Ignore "Open" commands» ( Override Action “Open” Commands) unchecked because we did not open any files while recording our operation. Field " Include all subfolders» ( Include All Subfolders) also leave unchecked as there are no subfolders in the stock package we are using.

Fields " Suppress file opening options dialogs» ( Suppress File Open Options Dialogs) And " Suppress color management messages» ( Suppress Color Profile Warnings) must be marked so as not to confirm parameter changes for each image in the batch.

Most JPEG images will have an embedded sRGB color profile, which is Photoshop's default working RGB, so there shouldn't be any color management system warnings anyway. If the image doesn't have a profile built in, Photoshop can set it to an sRGB working profile. It is important that there are no pop-up messages when batch processing photos. dialog boxes, otherwise all automation goals will fail:

Step 10

Create new folder on the desktop. Name it Batch Process Images Resized. Go back and in Photoshop's Batch window, set it as the destination folder. Make sure the field " Ignore "Save As" commands» ( Override Action Save As Commands) marked.