Skip to content

TheChymera/RTbatch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RTbatch

Python script for batch porcessing in RawTherapee.

It can currenly process one file while iterating through a list of profiles, and generate useful template code for publishing resulting images on Octopress. RTbatch also supports automated creation of optimized mini images for web previews, all customizable from within the command line.

Installation

RTbatch is available in the Portage chymeric overlay as app-misc/RTbatch. Just run the following command:

emerge RTbatch

If you are not yet using this overlay, it can be enabled with just two commands, as seen in the README.

####On all other Operating Systems:

For all other Linux distributions or operating systems, the package can easily be installed via pip. This also handles all Python dependencies.

git clone https://github.com/TheChymera/RTbatch.git your/local/repository/path
pip install [--user] -e your/local/repository/path

Please bear in mind that this will not pull in RawTherapee, make sure you have already installed it.

Dependencies:

Mandatory:

Usage

Run the script either as RTbatch_cli (if installed globally), or as ./RTbatch_cli.py from the containing folder:

RTbatch_cli  [-h] [-f] [-m] [-w MINI_WIDTH] [-i IPTC_PROFILE]
		[-o OUTPUT_DIR] [-t TEMPLATE]
		input

Example:

RTbatch_cli -fm ~/path/to/your/pics/folder/DSC_1337.NEF -t octopress-imgcap -i ~/.config/RawTherapee4.1/profiles/your_custom_profile.pp3

Arguments

positional arguments:
  input                 Input file for RT processing

optional arguments:
  -h, --help            show this help message and exit
  -f, --fullsize-only   Export files only in full-size - default exports both
                        full-size and minis (thumbnails)
  -m, --minis-only      Export files only as thumbnails (minis) - default
                        exports both full-size and minis
  -w MINI_WIDTH, --mini-width MINI_WIDTH
                        Thumbnail (mini) width
  -i IPTC_PROFILE, --iptc-profile IPTC_PROFILE
                        Path to IPTC profile (defaults to
                        .../RTbatch/profiles/iptc.pp3)
  -o OUTPUT_DIR, --output-dir OUTPUT_DIR
                        Specify the output directory (by default
                        .../RTbatch/output/)
  -t TEMPLATE, --template TEMPLATE
                        Markup template for obtaining a codeblock with which
                        you can display your images (choose from under
                        .../RTbatch/templates)

Released under the GPLv3 license. Project led by Horea Christian (address all correspondence to: h.chr@mail.ru)

About

RawTherapee batch processing with Python.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages