Skip to content

A very simple CLI program written in Rust for resizing an image with specified width.

License

Unknown and 2 other licenses found

Licenses found

Unknown
LICENSE.md
MIT
LICENSE.MIT
Unlicense
LICENSE.UNLICENSE
Notifications You must be signed in to change notification settings

minagawah/resize

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

resize

A very simple CLI program written in Rust for resizing an image with specified width.

Install

# build
cargo build ---release

# copy the binary to desired directory
cp -p target/release/resize ~/
cd ~

# run
./resize --path ~/Pictures/test.png --width 300
# it will emit the new file 'test.new.png' in the same folder as the original image file resides.

Notes

(a) cargo fmt

Looking into rustfmt.toml, you see the setting:

format_strings = true

which works only for the Nightly build.
So, you need:

cargo +nightly fmt

License

Dual-licensed under either of the followings.
Choose at your option.

About

A very simple CLI program written in Rust for resizing an image with specified width.

Resources

License

Unknown and 2 other licenses found

Licenses found

Unknown
LICENSE.md
MIT
LICENSE.MIT
Unlicense
LICENSE.UNLICENSE

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages