Skip to content

christurgeon/rawdog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RawDog

Raw files in, images out. No Lightroom, no fuss.

A no-nonsense Sony ARW converter supporting JPEG, TIFF, and PNG output.

Installation

cargo install --path .

Usage

Convert a single file:

rawdog photo.ARW

Convert all ARW files in a directory:

rawdog ./photos/

Specify an output directory:

rawdog ./photos/ -o ./jpegs/

Resize the long edge to 2048px:

rawdog photo.ARW -r 2048

Set JPEG quality to 85:

rawdog photo.ARW -q 85

Output as 16-bit TIFF:

rawdog photo.ARW -f tiff

Output as 16-bit PNG with resize:

rawdog ./photos/ -f png -r 2048

Combine options:

rawdog ./photos/ -o ./jpegs/ -q 95 -r 3000 --overwrite

macOS Finder Integration

You can add a right-click Quick Action so you can select ARW files in Finder and convert them without opening a terminal.

  1. Open Automator and create a new Quick Action
  2. Set "Workflow receives current" to files or folders in Finder
  3. Add a Run Shell Script action with "Pass input" set to as arguments
  4. Paste this script:
export PATH="/usr/local/bin:$HOME/.cargo/bin:$PATH"
rawdog "$@"
  1. Save as "Convert with RawDog"

Now right-click any ARW files in Finder → Quick ActionsConvert with RawDog. It handles multiple files at once.

To prompt for an output folder instead, use this script:

export PATH="/usr/local/bin:$HOME/.cargo/bin:$PATH"

OUTPUT_DIR=$(osascript -e 'set theFolder to choose folder with prompt "Choose output folder"' -e 'POSIX path of theFolder' 2>/dev/null)

if [ -z "$OUTPUT_DIR" ]; then
    exit 0
fi

rawdog "$@" -o "$OUTPUT_DIR"

If the action doesn't appear, check System Settings → Privacy & Security → Extensions → Finder.

License

MIT

About

No-nonsense Sony ARW to JPEG converter. Just point, convert, done.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages