← 返回命令列表

Linux command

rawtherapee-cli 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Convert RAW to JPEG

rawtherapee-cli -o [output.jpg] -c [input.raw]

Apply processing profile

rawtherapee-cli -p [profile.pp3] -o [output.jpg] -c [input.raw]

Batch convert directory

rawtherapee-cli -o [output_dir/] -c [input_dir/]

Output as TIFF

rawtherapee-cli -t -o [output.tif] -c [input.raw]

说明

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.

参数

-c _FILES_
Specify input files/directories to convert. Must be the last argument.
-o _PATH_
Output file or directory.
-O _PATH_
Like -o but also copies the applied .pp3 profile as a sidecar file next to the output.
-p _FILE.pp3_
Apply the given processing profile.
-d
Use the built-in default processing profile.
-s, -S
Use an existing sidecar .pp3 next to the input. -S skips images with no sidecar; -s silently falls back to the default profile.
-q _FILE_
Use an alternative sidecar file for every processed image.
-a
Process all supported files, including hidden ones.
-j_1-100_
Output JPEG; quality is attached with no space (e.g. `-j95`). Forces 8-bit output.
-js_1_|_2_|_3_
JPEG chroma subsampling: 1 = 4:2:0, 2 = 4:2:2, 3 = 4:4:4.
-tz
Output TIFF; append z (`-tz`) for ZIP compression.
-n
Output PNG (uncompressed).
-b_8_|_16_|_16f_|_32_
Output bit depth for TIFF/PNG (JPEG is always 8-bit).
-f
Fast-export mode (reduced quality, faster processing).
-Y
Overwrite existing output files.
-h, -?
Display help.

FAQ

What is the rawtherapee-cli command used for?

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.

How do I run a basic rawtherapee-cli example?

Run `rawtherapee-cli -o [output.jpg] -c [input.raw]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -c _FILES_ do in rawtherapee-cli?

Specify input files/directories to convert. Must be the last argument.