PhotoEditor/USAGE_EXAMPLES.md
2025-10-03 10:50:43 -05:00

1.8 KiB

Photo Editor - Usage Examples

Basic Usage

Process a RAW file without any adjustments:

./target/release/photo_editor \
  --input sample.raw \
  --output output.jpg

Common Adjustment Patterns

Exposure and Contrast

./target/release/photo_editor \
  --input sample.raw \
  --output enhanced.jpg \
  --exposure 0.3 \
  --contrast 20

Highlight and Shadow Recovery

./target/release/photo_editor \
  --input sample.raw \
  --output recovered.jpg \
  --highlights -15 \
  --shadows 10 \
  --whites 5

Dramatic Enhancement

./target/release/photo_editor \
  --input sample.raw \
  --output dramatic.jpg \
  --exposure 0.8 \
  --contrast 30 \
  --highlights -20 \
  --shadows 15 \
  --clarity 25 \
  --vibrance 30 \
  --saturation 20

Color Temperature Adjustments

./target/release/photo_editor \
  --input sample.raw \
  --output warm.jpg \
  --temperature 15 \
  --tint 5

Parameter Ranges

All parameters support the full range from -100 to 100 (except exposure which is -2.0 to 2.0):

  • --exposure -2.0 to 2.0 (controls brightness)
  • --contrast -100 to 100 (controls tonal range)
  • --highlights -100 to 100 (recovers highlight details)
  • --shadows -100 to 100 (enhances shadow detail)
  • --whites -100 to 100 (controls white point)
  • --blacks -100 to 100 (controls black point)
  • --clarity -100 to 100 (enhances edge definition)
  • --vibrance -100 to 100 (adjusts color saturation)
  • --saturation -100 to 100 (controls overall color intensity)
  • --temperature -100 to 100 (adjusts color temperature)
  • --tint -100 to 100 (adjusts color tint)

Help and Information

Show all available options:

./target/release/photo_editor --help

Display version information:

./target/release/photo_editor --version