rawtoaces Documentation
rawtoaces is a tool for converting RAW camera images to ACES (Academy Color Encoding System) format. It provides a command-line utility, a C++ library, and Python bindings for integration into other applications.
Programming references
API Overview chooses a file conversion, an OpenImageIO buffer pipeline, or a metadata or spectral solve. Task examples shows each task in Shell, C++, and Python. The language references list signatures:
C++ Reference: C++ classes, settings, and functions.
Python Reference: Python classes and methods.
Features
Convert RAW images from various camera manufacturers to ACES EXR files
Multiple white balance methods: metadata, illuminant, box averaging, or custom
Multiple matrix methods: spectral (using camera sensitivity data), metadata, Adobe, or custom
Flexible cropping options
Batch processing support
Quick Start
Command Line
# Basic conversion using camera metadata
rawtoaces input.dng
# Convert with specific illuminant
rawtoaces --wb-method illuminant --illuminant D55 input.cr2
# Batch convert all files in a directory
rawtoaces /path/to/raw/files/
Library Usage (C++)
#include <rawtoaces/image_converter.h>
rta::util::ImageConverter converter;
converter.settings.WB_method = rta::util::ImageConverter::Settings::WBMethod::Metadata;
converter.settings.matrix_method = rta::util::ImageConverter::Settings::MatrixMethod::Auto;
bool success = converter.process_image("input.dng");