Skip to content

dailcoyote/photo_filters

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build up

cargo build

Run

cargo run --release <SUBCOMMAND> <INPUT FILE> <OUTPUT FILE> <ADDITIONAL_PARAMETERS>
Example:
cargo run --release blur assets/pens.png assets/pens_blurred.png 2.5

Notes: Image processing is very CPU-intensive. Your program will run noticeably faster if you run it with the --release flag.

Photo filters result

Invert effect

cargo run --release invert assets/pens.png assets/pens_inverted.png

Blur

Blur effect

cargo run --release blur assets/pens.png assets/pens_with_blur.png 2.5

Blur

Crop effect

cargo run --release crop assets/pens.png assets/pens_cropped.png 200 300 400 250

Blur

Gray effect

cargo run --release grayscale assets/pens.png assets/pens_gray.png

Blur

About

CLI application for applying photo filters

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages