batch_converter.py - Tlousky/production_scripts GitHub Wiki
Batch Converter
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:
- Download the batch converter file and save in a local folder on your computer.
- In Blender, go to the user preferences screen ( <Ctrl + Alt + U>, or File --> User Preferences )
- Click on install from file, then select the batch_converter.py file you downloaded earlier.
- Press the install from file button on the upper right corner.
Usage:
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).