Batch resizing images on a Mac

Using the Automator is a way to batch resize images. Put the images to be resized into a folder (resize on the desktop). Start the Automator and use File>New – Choose Workflow. Drop the images into the window that says “Drag actions or files here to build  your workflow.” Then find Scale Images under Actions and drag it to below the images to be scaled. Then enter the pixel size. This is the side of the width? Used 2400 on images that were wider than higher. Then click on Run in the upper right and the images will be scaled.