3d0it / yair

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Yet Another Image Resizer

Yet Another Image Resizer is a super simple image resizing tool, developed as part of my Rust journey on https://learning.accelerant.dev/.

Usage

To use the Yet Another Image Resizer tool, follow the syntax below:

yair.exe --image-path <IMAGE_PATH> --percentage <PERCENTAGE>

For example, to create a resized version of the image "bear-combat.jpg" that is 25% of the original size, use the following command:

yair.exe --image-path .\sample\bear-combat.jpg --percentage 25

Note

Please note that when running in debug mode, the resize process may be slow. This is a known behavior of the resize method implemented in the image crate.

About


Languages

Language:Rust 100.0%