Announcement

Collapse
No announcement yet.

Batch Action question

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Batch Action question

    I need to make an action to change several images from tif to jpg. Also to change the resolution to 72.
    !. Do I need to record the 'act' of opening the file?

    2. Is it better to crop and set dimensions of the image BEFORE or AFTER changing res to 72. I realize the crop and dimensions will need to be done individually.

    Thanks, kiska

  • #2
    Assuming Photoshop CS: You don't need to record an open command. There are several ways to apply an action to a batch of images, such as making a 'droplet' and dragging files onto it.

    You can set the image's dimensions & resolution at the same time, if you choose to change just the resolution and keep the pixel dimensions the same, then you're not re-sampling (adding or removing pixels), so it can be done at any stage.

    If you use the 'Save for Web' dialogue in your action PS will automatically save the image as 72 ppi (you don't get any choice).

    Incidentally, Russell Brown has produced a very useful script for PS, allowing you to batch save files in PSD, TIFF and JPG formats, with different resolutions, sharpness, etc. He has also provided a video tutorial to show how it works:

    See Dr. Brown's Image Processor 2.3 -
    http://www.russellbrown.com/tips_tech.html

    Regards,

    Comment


    • #3
      William, thanks for the quick reply. I do have cs, sorry. I have not dealt with scripts before but have downloaded the one you suggested. Thank you again.

      Comment


      • #4
        If you decide to take the action/batch approach, here are a few considerations:

        Unless you have compelling reasons otherwise, I would avoid using Save for Web in an action invoked by Batch. It has some peculiar quirks. File > Save as... (.jpg) is normally the way to go.

        It's important to distinguish Cropping and Resizing. Engaging Image > Image Size to change the resolution to 72 ppi (and perhaps height/width) is different from applying the Crop command to physically lop off some of the image. Cropping requires a pause in the action to allow you to decide "how/where" to crop where Image > Image size... allows for hands off processing.

        Since you're converting from .tif to .jpg, be sure to turn on Batch Destination option "Override Action 'save as' commands." This will suppress the .jpg options dialog with each file.

        If you want to save the .tifs in the same folder as the .jpgs, choose Destination option "Save and close," too, otherwise specify "Folder" and the path to the destination folder.

        HTH...

        ~Danny~

        Comment


        • #5
          Thanks, Danny. The images will be already cropped at their final 'look'. But they will be, for example, 10x15 at 240 res. Can I get it down to a 2x3 at 72 within an action? Or is that scripting? There will be several images ging on a web page.
          kiska

          Comment


          • #6
            Originally posted by kiska
            Thanks, Danny. The images will be already cropped at their final 'look'. But they will be, for example, 10x15 at 240 res. Can I get it down to a 2x3 at 72 within an action? Or is that scripting? There will be several images ging on a web page.
            kiska
            Sure. Here's how...
            * Open one of the 10x15s
            * Make sure the Actions Palette is visible (Window > Actions)
            * Bottom of the palette: Click the "New Set" icon (looks like a folder). Assign a name, e.g., "Resize for web". This creates a new action set (folder)
            * Bottom of the palette again: Click "Create New Action" - give it a name, e.g., "2 x 3 @ 72 ppi" and click the button labeled Record.
            * Image > Image size (2x3 @ 72 ppi), OK
            * File > Save as... (format = .jpg). Specify ANY folder or Desktop (it makes no difference at this point) and do NOT change the file name. Click Save.
            * In the .jpg options dialog, specify a compression value, OK.
            * File > Close
            * Bottom of the palette again: Click the square icon to STOP the recording process. Action is ready to go.

            Prep for batch processing
            * If you haven't yet, create a destination folder where the .jpgs will go, e.g., \Destination. (Until you get the hang of this, it's usually a good idea for the Source and Destination folders to be different. Makes "do overs" easier if you have to. )

            Batch processing:
            * File > Automate > Batch
            * Play (set, action you just created)
            * Source: Folder. Choose: navigate to the source folder
            * Destination: Folder, navigate to \Destination
            * (x) Override Action 'Save as' commands

            Click OK... watch 'em go!

            ~Danny~

            Comment


            • #7
              Thanks Danny. I have dutifully printed the above instructions.

              Comment


              • #8
                Originally posted by DannyRaphael
                Unless you have compelling reasons otherwise, I would avoid using Save for Web in an action invoked by Batch. It has some peculiar quirks. File > Save as... (.jpg) is normally the way to go.
                Hi Danny,

                Just curious to know what quirks you have found with using S4W in actions?

                I don't tend to use actions all that often, but I've always used S4W when re-purposing images for web use/e-mail, most often via a droplet. (It used to provide smaller file sizes, not sure if it makes a difference these days). Anyway, I've not noticed any quirky behaviour, what have you found?

                Thanks,

                Comment


                • #9
                  Originally posted by WilliamD
                  Hi Danny,

                  Just curious to know what quirks you have found with using S4W in actions?

                  I don't tend to use actions all that often, but I've always used S4W when re-purposing images for web use/e-mail, most often via a droplet. (It used to provide smaller file sizes, not sure if it makes a difference these days). Anyway, I've not noticed any quirky behaviour, what have you found?

                  Thanks
                  Hello, William:

                  Here's what I've learned from the Adobe School of Hard Knocks (and a lot of testing).

                  SFW strips off EXIF and I believe color profile info, too, so files it generates can be smaller than File > Save as... (.jpg). But...

                  When SFW (Export) is engaged via Batch, it is useless to specify a folder different than the one recorded in the Export command via Destination=Folder/Choose (browse) and/or values in the File Naming section. The settings are ignored. The file name and destination folder are hard-wired in the Export command.

                  To change the destination folder one must record a replacement Export command.

                  To rename the files processed by SFW after the batch process completes one has to engage a 3rd party utility, Windows XP rename or the File Browser's Batch Rename function.

                  For those new to actions and batch processing these peculiarities are difficult to grasp. They make no sense, there are no error messages and no documentation on how or why SFW operates differently than Save as... (.jpg).

                  Heavy sigh...

                  ~Danny~

                  Comment


                  • #10
                    Originally posted by DannyRaphael
                    For those new to actions and batch processing these peculiarities are difficult to grasp. They make no sense, there are no error messages and no documentation on how or why SFW operates differently than Save as... (.jpg).

                    Heavy sigh...

                    ~Danny~
                    Thanks for explaning that Danny.

                    I always save jpegs from actions into the same Actions folder (stops me losing them!), so I hadn't noticed this behaviour.

                    I suppose this is down to S4W being produced by the Image Ready team; I would have hoped that the 2 programs would have become more alike over the years, but if anything they seem to grow apart!

                    Years ago I used Graphic Converter for jpegs, as PS was so poor at making them. Now I use S4W as I usually want the smallest possible file, so I like the fact it strips everything out. But I can see it could cause a few headaches with actions...

                    Comment


                    • #11
                      Originally posted by WilliamD
                      Thanks for explaning that Danny.

                      I always save jpegs from actions into the same Actions folder (stops me losing them!), so I hadn't noticed this behaviour.

                      I suppose this is down to S4W being produced by the Image Ready team; I would have hoped that the 2 programs would have become more alike over the years, but if anything they seem to grow apart!

                      Years ago I used Graphic Converter for jpegs, as PS was so poor at making them. Now I use S4W as I usually want the smallest possible file, so I like the fact it strips everything out. But I can see it could cause a few headaches with actions...
                      Very interesting. I didn't realize SFW was an IR hack. It would be slick if the IR "conditional execution" function could be ported over to the PS action side to avoid having to invoke scripting for simple decision making for common tasks.

                      Having a fixed destination folder does have its advantages and I can sure relate. If nothing else you can expand the Export command to figure out where it is!

                      One of the PS CS2 "rumors" is that Adobe beefed up batch processing functionality. That would be great, if true and it shouldn't be much longer until we find out.

                      Comment


                      • #12
                        Originally posted by DannyRaphael
                        One of the PS CS2 "rumors" is that Adobe beefed up batch processing functionality. That would be great, if true and it shouldn't be much longer until we find out.
                        PS often seems to be a few steps behind it's users: It was very slow to respond to the needs of web designers & now the File Browser/ACR/Batch processing workflow for digital photographers seems a bit 'clunky'. Fingers crossed for CS2 (or will it be PS9?).

                        Comment

                        Related Topics

                        Collapse

                        • Jay
                          Batch processing
                          by Jay
                          I'll come back from a wedding with hundreds of jpeg files that I would like to quickly batch process into 300 dpi Tiff files. Regardless of how many different ways I try it just ain't happening.

                          Please advise me as to ALL the necessary steps I should take when putting together the ACTION...
                          09-16-2003, 08:45 PM
                        • Vienaragis
                          Batch --> Save for Web
                          by Vienaragis
                          I've seen a few posts on this via the search function, but nothing addressing my specific problem, so I apologize if this seems redundant to some as I'm having a lot of trouble understanding this.

                          I've been using actions to help quicken the process of making some content I need. One of...
                          03-31-2009, 12:43 PM
                        • bouloss
                          Action or script to save 2 output files
                          by bouloss
                          Hi , I am been trying to acheive this with actions, ppl been telling me its only possible using scripts .

                          At first ,save for print is a default JPG 12 same size as the PSD. 300dpi
                          the second save is JPEG 8 and I do apply a image scale by only reducing the dpi to 72. which makes...
                          05-13-2006, 01:20 PM
                        • kenwood
                          Batch processing, saving to jpeg dialog pops up
                          by kenwood
                          I am trying to batch process a set of jpeg files using photoshop action (cs2). The part of my action is close and save the image. However when I run the action, the save to jpeg dialog box pops up, and I had to manually click on save for the action to continue. Is there any way to prevent the box...
                          12-01-2007, 04:53 PM
                        • therookie
                          Action ignores the save to folder during batch
                          by therookie
                          I created a simple action to downsize my images to 800 width, then save for web, then I close them.

                          When I try to batch process the images, if I created the action in one folder, and I attempt to run it on pictures in a different folder, when I choose the destination folder in the batch...
                          02-18-2009, 03:51 PM
                        Working...
                        X