Batch Process
Introduction
A flexible batch processing framework for Script-Fu that processes multiple images from a directory. This plug-in lets you format in a scripted manner, an entire directory of XCF images, including those in nested folders, and save the results to a customized destination folder.
The standalone version includes all library functions inlined (~850 lines), making it a complete working example that can be customized for your specific needs.
Key Features:
- Process files from disk or open images
- Recursive directory processing with file discovery
- Customizable processing and export functions
- ICC color profile support for CMYK export
- Proper display and image lifecycle management
- Progress reporting during batch operations
Plug-in Menu Location
File -> Batch Process
Quick Setup
Configure these values at the top of the batch-process.scm file:
default-src-dir
- Your default source directorydefault-dst-dir
- Your default destination directorysoftproof-icc
- Path to your ICC color profile (optional)
Processing Modes
- File System Mode - Process files from a source directory
- Open Image Mode - Process currently open image(s)
The example processing function creates 50% scaled versions with sharpening applied—ideal for creating web/social media versions from high-res originals.