#!/bin/bash # Example usage script for the Photo Editor echo "Photo Editor - Example Usage" echo "============================" # Create a sample command demonstrating various adjustments echo "Example 1: Basic processing with adjustments" echo "=============================================" ./target/release/photo_editor \ --input sample.raw \ --output output.jpg \ --exposure 0.5 \ --contrast 20 \ --highlights -10 \ --shadows 5 \ --whites 0 \ --blacks 0 \ --clarity 10 \ --vibrance 15 \ --saturation 5 \ --temperature 10 \ --tint 5 echo "" echo "Example 2: Basic processing without adjustments" echo "===============================================" ./target/release/photo_editor \ --input sample.raw \ --output output.jpg echo "" echo "Example 3: Different adjustments for dramatic effect" echo "====================================================" ./target/release/photo_editor \ --input sample.raw \ --output dramatic_output.jpg \ --exposure 0.8 \ --contrast 30 \ --highlights -20 \ --shadows 15 \ --whites 5 \ --blacks -10 \ --clarity 25 \ --vibrance 30 \ --saturation 20 \ --temperature 15 \ --tint 8 echo "" echo "Example 4: Show help" echo "====================" ./target/release/photo_editor --help echo "" echo "Example 5: Processing with negative exposure and high contrast" echo "==============================================================" ./target/release/photo_editor \ --input sample.raw \ --output processed.jpg \ --exposure -0.3 \ --contrast 40 \ --clarity 15 \ --vibrance 20 echo "" echo "Example 6: Fine-tuning highlights and shadows" echo "=============================================" ./target/release/photo_editor \ --input sample.raw \ --output refined.jpg \ --highlights -15 \ --shadows 10 \ --whites 5 \ --blacks -5