https://github.com/grayfallstown/resport
CLI tool that tells you an images dimensions, aspect-ratio or if it is landscape. Supports all image formats the [image](https://crates.io/crates/image) crate supports.
https://github.com/grayfallstown/resport
Last synced: 11 months ago
JSON representation
CLI tool that tells you an images dimensions, aspect-ratio or if it is landscape. Supports all image formats the [image](https://crates.io/crates/image) crate supports.
- Host: GitHub
- URL: https://github.com/grayfallstown/resport
- Owner: grayfallstown
- Created: 2023-01-15T06:59:42.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2025-07-10T21:47:09.000Z (12 months ago)
- Last Synced: 2025-07-15T08:37:38.503Z (12 months ago)
- Language: Rust
- Size: 183 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# resport
Simple CLI tool that tells you an images dimensions, aspect-ratio or if it is landscape. Supports all image formats the [image](https://crates.io/crates/image) crate supports.
```
$ resport orientation -i "..\wallpaper.jpg"
landscape
$ resport aspect-ratio -i "..\wallpaper.jpg"
16:9
$ resport dimensions -i "..\wallpaper.jpg"
1920x1080
$ resport
CLI tool that tells you an images dimensions, aspect-ratio or if it is landscape
Usage: resport.exe
Commands:
dimensions prints 1920x1080
width prints 1920
height prints 1080
aspect-ratio prints 16:9
orientation prints landscape
is-portrait prints false
is-landscape prints true
help Print this message or the help of the given subcommand(s)
Options:
-h, --help Print help
```
## Installation
Via Cargo:
`cargo install resport`
Or [download a release from github](https://github.com/grayfallstown/resport/releases)
## License
MIT or Apache 2