6 Replies Latest reply: Aug 7, 2009 10:13 AM by Arrow'd RSS

    How do I create a specific scaling action

    Arrow'd Community Member

      I'm working in CS4.

       

      I need to batch process a horde of random images (different sizes, resolutions, color profiles, etc.).

      I can handle most of the processes but there is one step in the action that I haven't figured out yet.

       

      I need the action to convert the color profile, change the resolution, scale the image down to 600 pixels high while maintaining the proportional width.

       

      However, if the image is already smaller than the 600 pixel height, I need it to handle the color and resolution conversions but skip the scaling step in the action.

       

      Is that possible?

        • 1. Re: How do I create a specific scaling action
          Ramón G Castañeda Community Member

          No action is necessary.  Use the Image Processor—or better yet, Dr, Brown's Services, which is like the Image Processor on steroids, free and by the same author as the Image Processor, Russell Brown.

           

          http://www.russellbrown.com/scripts.html

          • 2. Re: How do I create a specific scaling action
            Reynolds (Mark) Community Member

            Arrow'd - So you your images all have to be exactly 600 pix high - what happens to the relative measurement, do you add pixels, or crop?

             

            However, if the image is already smaller than the 600 pixel height, I need it to handle the color and resolution conversions but skip the scaling step in the action.

            That's a conditional, and a script is needed there I'm afraid. You need to decribe in detail what you want and go to the scripting forum - at the moment people over there are being very helpful so you may get a solution.

            • 3. Re: How do I create a specific scaling action
              Arrow'd Community Member

              Reynolds (Mark) wrote:

               

              Arrow'd - So you your images all have to be exactly 600 pix high - what happens to the relative measurement, do you add pixels, or crop?

               

              The height needs to be 600, the width will be whatever the proportions dictate. And if we end up with a "half" pixel pinline or something we'll set it to a common background color since the images will be used in a web interface and will probably have a transparency setting anyway.

               

              That's a conditional, and a script is needed there I'm afraid. You need to decribe in detail what you want and go to the scripting forum - at the moment people over there are being very helpful so you may get a solution.

              Kinda figured, I was just hoping there was a way around that.

               

              Thanks all.

              • 4. Re: How do I create a specific scaling action
                Community Member

                Arrow'd wrote:

                 

                And if we end up with a "half" pixel pinline or something we'll set it to a common background color since the images will be used in a web interface and will probably have a transparency setting anyway.

                There is no such thing as a half a pixel in Photoshop. A pixel is the smallest measurement.

                • 5. Re: How do I create a specific scaling action
                  Arrow'd Community Member

                  Buko. wrote:

                   

                  There is no such thing as a half a pixel in Photoshop. A pixel is the smallest measurement.

                   

                  I realize that, that's why I put it in quotes.

                   

                  It's just that sometimes in Photoshop there is a hairline that I can see when it's fit to screen, but when I zoom in, it's not there.

                   

                  Apparently those are there just to make me nervous.

                  • 6. Re: How do I create a specific scaling action
                    Reynolds (Mark) Community Member
                    The height needs to be 600, the width will be whatever the proportions dictate.

                     

                    Ah Ok then - the way to automate your scaling is to use Image Size dialog. Just enter 600px in height - don't enter anything in width. This will record only as Height in your action. Constrain is checked obviously.

                     

                    Apparently those are there just to make me nervous.

                    I don't see them, but I guess they may be included for that reason.