Skip to content

Latest commit

 

History

24 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rustic Retouch

Image Manipulation Tool written in Rust Programming Language

Usage:

$ ./rustic-retouch
Rustic Retouch - a simple image processing tool written in Rust.
 by: Sujoy De
 
USAGE: [subcommand] [infile] [outfile] [args]
subcommands:
blur INFILE OUTFILE amount(f32)
brighten INFILE OUTFILE amount(i32)
crop INFILE OUTFILE x(u32) y(u32) width(u32) height(u32)
rotate INFILE OUTFILE 90/180/270
invert INFILE OUTFILE
grayscale INFILE OUTFILE
generate OUTFILE red_multiplier(f32) green_multiplier(f32) blue_multiplier(f32)
fractal OUTFILE

Features:

Blur

Usage: ./rustic-retouch blur INFILE OUTFILE amount(f32)

Example: $ ./rustic-retouch blur dyson.png blur-dyson.png 6

Before:After:

Brighten

Usage: ./rustic-retouch brighten INFILE OUTFILE amount(i32)

Example: $ ./rustic-retouch brighten pens.png bright-pen.png 50

Before:After:

Crop

Usage: ./rustic-retouch crop INFILE OUTFILE x(u32) y(u32) width(u32) height(u32)

Example: $ ./rustic-retouch crop pens.png crop-pens.png 300 300 400 400

Before:After:

Rotate

Usage: ./rustic-retouch rotate INFILE OUTFILE 90/180/270

Example: $ ./rustic-retouch rotate dyson.png rotate-dyson.png 270

Before:After:

Invert

Usage: ./rustic-retouch invert INFILE OUTFILE

Example: $ ./rustic-retouch invert pens.png invert-pens.png

Before:After:

Grayscale

Usage: ./rustic-retouch grayscale INFILE OUTFILE

Example: $ ./rustic-retouch grayscale pens.png gray-pens.png

Before:After:

Generate

Usage: ./rustic-retouch generate OUTFILE red_multiplier(f32) green_multiplier(f32) blue_multiplier(f32)

Example: $ ./rustic-retouch generate generated.png 0.2 0.7 0.8

Image:

Fractal

Usage: ./rustic-retouch fractal OUTFILE

Example: $ ./rustic-retouch fractal fractal.png

Image:

About

Image Manipulation tool Using Rust Programming Language

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages