LinuxCommandLibrary

rawtherapee-cli

TLDR

Convert RAW to JPEG

$ rawtherapee-cli -o [output.jpg] -c [input.raw]
copy
Apply processing profile
$ rawtherapee-cli -p [profile.pp3] -o [output.jpg] -c [input.raw]
copy
Batch convert directory
$ rawtherapee-cli -o [output_dir/] -c [input_dir/]
copy
Output as TIFF
$ rawtherapee-cli -t -o [output.tif] -c [input.raw]
copy

SYNOPSIS

rawtherapee-cli [options] -c inputfiles_

DESCRIPTION

rawtherapee-cli is the command-line interface for RawTherapee, processing RAW image files. It applies the same powerful processing as the GUI version in batch mode.

PARAMETERS

-o path

Output file or directory.
-p file
Processing profile (.pp3).
-c files
Input files to convert.
-j [quality]
Output JPEG (quality 1-100).
-t
Output TIFF.
-n
Output PNG.
-b bits
Bit depth (8 or 16).
-Y
Overwrite existing.

EXAMPLES

$ # Basic conversion
rawtherapee-cli -o output.jpg -c photo.CR2

# With profile
rawtherapee-cli -p default.pp3 -o output.jpg -c input.NEF

# Batch convert folder
rawtherapee-cli -o processed/ -c raw_photos/

# High quality JPEG
rawtherapee-cli -j95 -o high_quality.jpg -c input.raw

# 16-bit TIFF
rawtherapee-cli -t -b16 -o output.tif -c input.raw
copy

PROFILES

Processing profiles (.pp3) can be:
- Created in RawTherapee GUI
- Found in /usr/share/rawtherapee/profiles/
- Sidecar files (filename.pp3)

CAVEATS

Requires RawTherapee installation. Processing is CPU-intensive. Supports most RAW formats.

HISTORY

RawTherapee was created by Gábor Horváth in 2004, with CLI added for batch processing workflows.

SEE ALSO

Copied to clipboard