Batch processing of image size, watermark, etc. in Ps

by jimstory on 2009-11-19 20:14:43

PS Batch Processing

Many times when we upload pictures online, we fail due to the images being too large. This is especially true for those who run Taobao online stores. After taking pictures with a digital camera, resizing each image one by one can be very troublesome. Of course, you could choose to search for other image processing software. However, if you have Photoshop (PS) on your computer, the steps below can conveniently solve this problem.

The following is an example of a PS batch processing tutorial that deals with resizing images. I found this on the internet a couple of days ago while helping a friend with her Taobao store images and made some minor modifications.

By applying similar logic, you can also use this batch processing tutorial to add watermarks to images or batch save them in web/device-friendly formats, which should be very useful in front-end design.

**PS Batch Processing Tutorial**

1. Open Photoshop, press Alt + F9 to open the "Actions" panel.

2. You can see there is already a default action folder containing some actions, but we won't need them.

3. Now, we will create a new action to change the image size.

First, click on the folder icon (labeled as 1 in Figure 1, "Create New Set") and name it "Custom Actions." Then click on the page icon (labeled as 2 in Figure 1, "Create New Action"), and a new action dialog box will appear (as shown in Figure 2). Name the action "Resize Image 640" (because I am going to resize the image to 640*480, so I named it this way for easy identification). Choose the sequence from the "Custom Actions" set we just created. Select a function key that suits you; I chose F12+Shift, then click "Record."

**Batch Resize Images**

From the figure below, you can see that the action is now recording (Figure 3):

First, press Ctrl+O to open an image, then press Alt+I and then I again to modify the image size to 640*480 (which is equivalent to right-clicking the image -> Image Size; I used shortcuts). Then press Ctrl+Shift+S to save the image in this format. Save it wherever you like, and you can choose the file format (if the image has many colors, JPG is recommended). Finally, close this image.

If all the above steps were done correctly, the action panel will look like this (Figure 4):

Now don't hesitate, click the stop button (the small square in Figure 4), and the action is completed.

Click "File -> Automate -> Batch," open the batch processing panel (Figure 5). In the "Set" option, choose "Custom Actions," and in the "Action" option, choose "Resize Image 640." The crucial part: in the "Source" option, choose "Folder," then select the folder where your images are located below; check "Override Action 'Open' Commands;" in the "Destination" option, choose "Folder," then select the location where you want to store the images (if you want to keep the original images, create a new folder). Done! Click "OK."

---

**Bonus Content**

I have a colleague who always installs the highest version of the system, like enterprise editions, etc., with over 100 services starting up at boot. He uses Swedish firewalls, Russian antivirus programs, updates Microsoft patches daily, checks drivers every hour, tries all optimization software, tweaks the registry repeatedly, and finally after achieving perfection, stares blankly at his desktop. —— No more goals left.

Ctrl+V

Original article reprinted from: Sanqi Bada

Article Address: http://www.378Q.com.cn/post/132.html