Rust program for image manipulation.
Works with most image types, as long as INPUT and OUTPUT have the same file extension.
cargo run <INPUT> <OUTPUT> [OPTIONS]
--blur VALUE
: gaussian blur
--rotate VALUE
: rotate image (90, 180 or 270 deg)
--brighten VALUE
: brighten image
--crop "x,y,w,h"
: crop image
--invert
: invert colors
--grayscale
: convert to grayscale
--solid "r,g,b"
: turn image into solid color
--fractal
: fractalize image
cargo run image.jpg out.jpg --blur 2.5 --invert --rotate 180 --brighten 100
original | output |
---|---|
Final project for Udemy's Ultimate Rust Crash Course by Nathan Stocks.
Base source code here.