mikaelsundell / brawtool

brawtool is a set of utilities for processing braw encoded images

Home Page:https://github.com/mikaelsundell/brawtool

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Readme for Brawtool

License

Introduction

brawtool is a set of utilities for processing braw encoded images

Building

The brawtool app can be built both from commandline or using optional Xcode -GXcode.

mkdir build
cd build
cmake .. -DCMAKE_MODULE_PATH=<path>/brawtool/modules -DCMAKE_INSTALL_PREFIX=<path> -DCMAKE_PREFIX_PATH=<path> -GXcode
cmake --build . --config Release -j 8

Example using 3rdparty on arm64

mkdir build
cd build
cmake ..
cmake .. -DCMAKE_INSTALL_PREFIX=<path>/3rdparty/build/macosx/arm64.debug -DCMAKE_INSTALL_PREFIX=<path>/3rdparty/build/macosx/arm64.debug -DCMAKE_CXX_FLAGS="-I<path>/3rdparty/build/macosx/arm64.debug/include/eigen3" -DBUILD_SHARED_LIBS=TRUE -GXcode

Usage

Print brawtool help message with flag --help.

brawtool -- a set of utilities for processing braw encoded images

Usage: brawtool [options] filename...

General flags:
    --help                         Print help message
    -v                             Verbose status messages
    --inputfilename OUTFILENAME    Input filename of braw file
    --kelvin KELVIN                Input white balance kelvin adjustment
    --tint TINT                    Input white balance tint adjustment
    --exposure EXPOSURE            Input linear exposure adjustment
Output flags:
    --outputdirectory OUTFILENAME  Output directory of braw files
    --outputformat OUTFORMAT       Output format for preview image (png)
    --clonebraw                    Clone braw file to output directory
    --cloneproxy                   Clone proxy directory to output directory
    --apply3dlut                   Apply 3dlut to preview image
    --applymetadata                Apply metadata to preview image
    --override3dlut OVERRIDE3DLUT  Override 3dlut for preview image
    --width WIDTH                  Output width of preview image
    --height HEIGHT                Output height of preview image

Packaging

The macdeploy.sh script will deploy mac bundle to dmg including dependencies.

./macdeploy.sh -e <path>/brawtool -d <path> -p <path>

Dependencies

Project Description
Boost Boost project @ Github
OpenImageIO OpenImageIO project @ Github
OpenColorIO OpenColorIO project @ Github
BlackMagic RAW BlackMagic website
3rdparty 3rdparty project containing all dependencies @ Github

Project

Copyright

About

brawtool is a set of utilities for processing braw encoded images

https://github.com/mikaelsundell/brawtool


Languages

Language:C++ 85.0%Language:Shell 8.4%Language:CMake 6.6%