Skip to content

Batch Processing

Aas1kk edited this page May 20, 2025 · 1 revision

ImageUpscaler - The Easiest Way to Enhance Your Photos! 🚀

License Issues Stars

Batch Processing

Overview

Batch Processing allows you to efficiently process multiple images at once. This feature includes progress tracking, error handling, and flexible output management.

Features

  • Multi-threaded processing
  • Progress tracking
  • Error handling
  • Output management
  • Metadata preservation
  • Thumbnail generation

Usage

imageUpscaler process --input my_photos --output enhanced_photos --config config.json

Configuration

{
    "batch_processing": {
        "enabled": true,
        "max_workers": 4,
        "chunk_size": 10
    },
    "output_settings": {
        "preserve_original": true,
        "create_thumbnails": true,
        "thumbnail_size": [200, 200],
        "naming_convention": "{original_name}_enhanced_{timestamp}"
    }
}

Best Practices

  • Adjust max_workers based on your CPU cores
  • Set chunk_size based on available memory
  • Enable preserve_original for safety
  • Use meaningful naming conventions
  • Monitor progress with tqdm progress bars
Clone this wiki locally