A C++ CLI photo editor
Photo Editor Usage: ./picomini <image_path> [ ...] [-o output_filename] [-d output_directory]
Options: -h, --help Display this help message -o Specify the output filename (default: output.jpg) -d Specify the output directory (default: current directory)
Available Commands: rotate90 Rotate the image 90 degrees clockwise
rotate-90 Rotate the image 90 degrees counter-clockwise
mirrorx Mirror the image horizontally (flip about the x-axis)
mirrory Mirror the image vertically (flip about the y-axis)
blur Apply Gaussian blur to the image : Strength of the blur (sigma value), e.g., 2.5
brightness Adjust the brightness of the image : Brightness factor, where: 1.0 is no change >1.0 increases brightness <1.0 decreases brightness
resize [] Resize the image : New width in pixels : New height in pixels (optional) If omitted, height will be calculated to maintain aspect ratio
pad [ ] Pad the image to specified dimensions : New width in pixels : New height in pixels : Optional RGB values for padding color (0-255 for each) Default is white (255 255 255) if not specified
Examples: ./picomini input.jpg rotate90 blur 2.5 -o rotated_blurred.jpg ./picomini input.jpg resize 800 brightness 1.2 -o resized_brighter.jpg ./picomini input.jpg pad 1000 1000 0 0 0 -o padded_black.jpg