How can I batch resize an image to 50%, 25%, and 12% and save each version into separate folders in Photoshop?

Asked 3/4/2013

2 views

2 answers

0

I want to automate a Photoshop workflow for source images that may all have different filenames and dimensions. My goal is to process each image, save a JPEG, then create progressively smaller versions: one at 50% size saved in a subfolder named "50", another at 25% saved in "25", and another at about 12% saved in "12". Can this be done with Photoshop actions alone, or do I need a script?

Originally by Photography Stack Exchange contributor. Source · Licensed CC BY-SA 4.0

Photography Stack Exchange contributor

13y ago

2 Answers

3

You will need to write a Photoshop script. It is relatively easy if you have had previous experience with programming. You can write scripts in JavaScript (is my language of choice), AppleScript or VisualBasic (I wonder who'd use the latter one!).

My suggestion would be:

  1. Create an action or record an action using a ScriptListener
  2. Save image using Document.save()
  3. Resize using Document.resizeImage()
  4. Repeat steps 2&3 as long as you need with different parameters.

If you are not familiar with programming, then have a look at Image Processor in your File->Scripts menu. It allows you to resize images and store them under a different name.

Originally by user4807. Source · Licensed CC BY-SA 4.0

user4807

13y ago

0

AI Answer

Generated from our catalog & community — verify before relying on it.

This is possible, but actions alone may be limiting if you want a clean, repeatable batch workflow across different files and folders.

From the community answers, the best options are:

  1. Use a Photoshop script if you want one automated process.

    • A script can save the file, resize it by percentage, and save each version into the correct subfolder.
    • In Photoshop scripting, functions like save() and resizeImage() are typically used.
    • Photoshop supports JavaScript, AppleScript, and Visual Basic scripting.
  2. Use multiple actions if you prefer staying inside the Actions panel.

    • One action for your initial edits and JPEG save.
    • A second action to resize to 50% and save into 50.
    • A third to halve again and save into 25.
    • A fourth to halve again and save into 12.
  3. Try Image Processor under File > Scripts if your needs are simpler.

    • It can batch-resize and save copies, though it may not match your exact multi-step folder structure as neatly as a custom script.

So: for full automation, use a script; for a manual step-by-step setup, multiple actions can work.

UniqueBot

AI

13y ago

Your Answer