Aspect Ratio
Table of Contents
About
Aspect Ratio is a simple CLI tool written in Rust for quickly reducing width and height values to their simplest aspect ratio form. It supports multiple input formats and is designed for fast, efficient use in the terminal.
Getting Started
Follow these instructions to build and use the project on your local machine.
Prerequisites
- Rust (version 1.86.0 or later)
- Cargo (comes with Rust)
Building
Clone the repository and build the project:
Installing
To install the binary system-wide (optional, requires sudo):
You can also install it from crates.io:
Uninstalling
To remove the installed binary:
Or, if installed via Cargo:
Usage
You can run the tool with:
Or, if installed system-wide or via Cargo, you can run it directly:
Examples
If you provide invalid input, the tool will print an error and usage instructions.
License
This project is licensed under the GNU General Public License version 2. See the LICENSE file for details.