HOME BZU Mail Box Online Games Radio and TV Live Cricket Score All Albums
Go Back   BZU PAGES: Find Presentations, Reports, Student's Assignments and Daily Discussion; Bahauddin Zakariya University Multan Welcome to all the Students Tutorial How to ?


Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 01-03-2010, 03:36 PM
.BZU.'s Avatar


 

Join Date: Sep 2007
Location: near Govt College of Science Multan Pakistan
Posts: 9,688
Contact Number: Removed
Program / Discipline: BSIT
Class Roll Number: 07-15
.BZU. has a reputation beyond repute.BZU. has a reputation beyond repute.BZU. has a reputation beyond repute.BZU. has a reputation beyond repute.BZU. has a reputation beyond repute.BZU. has a reputation beyond repute.BZU. has a reputation beyond repute.BZU. has a reputation beyond repute.BZU. has a reputation beyond repute.BZU. has a reputation beyond repute.BZU. has a reputation beyond repute
Cool How to resize Batch Images in Adobe Photoshop Using Action and Batch Function


Using the Photoshop Actions and batch command to resize images.

In this tutorial, we’ll learn how to create a custom action and use Photoshop’s batch command to process a group of images to a certain size. This is a fairly simple tutorial, but does require some Photoshop knowledge.

For this tutorial, we are going to create a group of thumbnail images for a website gallery,
So we are going to convert all our images to small jpg’s.

Here we go….

First off, we need to do a little prep work. And believe me, this prep work can save you a lot of problems in the long run.

We need to decide how big our thumbnails are going to be. Also, we need to decide whether or not to resize them by height, or by width. I’ll explain at the end of the tutorial. Since we are making thumbnails, we are going to make them all 150 pixels wide.

Before we go into Photoshop, we are going to create two different folders. For this tutorial, we’ll create the folders “original” and “thumbnails”. It doesn’t matter where they go, as long as you can remember where they are.

Next, copy all the images you want to resize to the “original” folder. Notice that I said COPY. It’s always better to work on copies of your images, rather than the originals. That way if something happens, you always have a backup copy of your original images.

When you copy your images, I recommend you copy them all to the root directory in the “original” folder, don’t use any subfolders. This you’ll ensure that you have no duplicate images, or images with the same filename.

Let’s get into Photoshop.

First we need to open an image. Any image will due for now. We are only going to use it to create our Actions.

Now, let’s create a new action set. To do this, we click on the folder icon in the Actions panel. Let’s name this set “Custom”. I like to keep my custom actions in their own set, so I can find them easier later on.



Next we need to create a new action. Click the “create new action” icon in the Actions panel. This is signified by the icon that looks like a piece of paper with a curled edge.



Let’s name this Action “Resize 150 W” because we are going to resize the image to 150 pixels wide. *Note: As soon as you create a new Action, your action starts recording, so go directly to the next step without doing anything else.

To resize the image: Go to IMAGE --> RESIZE IMAGE. This will open the “Image Size” dialog box. Now let’s change the width of our image to 150 pixels wide. Then click “OK”.



Now immediately after you click “OK”. Go to FILE --> SAVE FOR WEB. Set your jpg parameters how you normally would and click save. Make sure you save this file in the “thumbnails” folder that we created. You can name the file anything you want.

Next we need to stop recording our Action. Click the “Stop recording” icon in the Actions panel. This is the little square button. Our new Action is complete, and ready to use. Now we are ready to process our images.



Go to your “Thumbnails” folder and delete the image you saved there when you created your action. This is just so it doesn’t get mixed in with the images you’re processing.

In Photoshop, go to FILE --> AUTOMATE --> BATCH.

In the “Batch” Dialog box, we need to set our options. The batch options are fairly straight forward, so I’ll only touch on the ones I feel need some explanation.

The “Play” section. Change your set to “Custom”. And your Action to “Resize 150 W” this sets the Action you created earlier.

Set the “Source” option to “Folder”. Then click the “Choose” button and select the folder you created called “Original”.

The “Source” Section. Since we did not create an “Open” Command in our Action, we need to make sure the “Override Action “Open” Commands” is NOT checked. The “Include Subfolders” option doesn’t matter. The “Suppress file Open Options Dialog” should be checked. And the “Suppress Color Profile Warnings” should be checked.

The “Destination” Section. The “Destination” should be set to “Folder”. Click on the “Choose” button and select the folder you created called “thumbnails”. Make sure the “Override Action “Save As” command” is checked. In the “File Naming” Section. Set the first box to “Document Name” and the second box to “Extension”. This is an option you can play around with, but make sure that the last part of the naming is set to “Extension”

Now, to process your images, just click “Ok”



And that’s it.

Before you actually put this Tutorial to use Please check over the notes I’ve put below.

NOTES:

IMPORTANT NOTE ON PERFORMANCE

The amount of files you can batch process at one time is affected in several different ways:
1. The size of the files being processed.
2. The Processor Speed of your computer.
3. The amount of RAM available to Photoshop.
Don’t expect to jump right in a batch process 100 different images at once. Start out slow. Try, let’s say, 10 files the first time and see how your computer responds. If everything goes ok, then start increasing the amount from there.
Trying to batch too many files at once can cause your computer to slow down, freeze up, or crash altogether. You have been warned.

When you Batch a group of images this way, you do not have to worry about what type of images they are. If Photoshop can open them, they will be processed.

Here’s the reason why we needed to decide how to resize our images. We want all our images to be consistently the same size and maintain their aspect ratio, so they look like the original, only smaller. However, we can only do this in one direction. When you execute the image size command in an Action. The action will only change the dimension that you have changed in the “Image Size” dialog box.

I hope you find this tutorial useful.
__________________
(¯`v´¯)
`*.¸.*`

¸.*´¸.*´¨) ¸.*´¨)
(¸.*´ (¸.
Bzu Forum

Don't cry because it's over, smile because it happened
Reply With Quote
Reply

Tags
action, adobe, batch, function, images, photoshop, resize


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
10% Overseas Scholarships for PhD in Selected Fields Phase-II, Batch-7 .BZU. Daily News And halat-e-hazra 0 23-07-2011 08:22 PM

Best view in Firefox
Almuslimeen.info | Cloud Computing | Dedicated server hosting
Note: All trademarks and copyrights held by respective owners. We will take action against any copyright violation if it is proved to us.

All times are GMT +5. The time now is 11:24 PM.

Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish.