batch_converter.py - Tlousky/production_scripts GitHub Wiki

Batch Converter

IMAGE ALT TEXT HERE

Description:

This script converts all the images specified in the source folder, and creates converted copies with the same name in another folder (or the same one if source and destination are the same).

Installation:

  1. Download the batch converter file and save in a local folder on your computer.
  2. In Blender, go to the user preferences screen ( <Ctrl + Alt + U>, or File --> User Preferences )
  3. Click on install from file, then select the batch_converter.py file you downloaded earlier.
  4. Press the install from file button on the upper right corner.

Usage:

Setup

Set up the script's source and destination folders, and add a prefix and/or suffix to saved file names

Source folder - Folder where the images you want to convert are places. Make sure to only include image files in this folder for the moment, or the script might crash. Must be a valid path on your computer for the Convert button to be active.

Destination folder - Folder where you want to save the converted images. Must be a valid path on your computer for the Convert button to be active.

Prefix - String to add at the beginning of every converted file's name.

Suffix - String to add at the end of every converted file's name (right before the extension).

Set up the render output settings

Conversion settings

Click "Batch convert" to run begin converting