https://github.com/cfsamson/tools-resolution
Simple CLI that lists the resolution in megapixels of any image file in the folder
https://github.com/cfsamson/tools-resolution
Last synced: 2 months ago
JSON representation
Simple CLI that lists the resolution in megapixels of any image file in the folder
- Host: GitHub
- URL: https://github.com/cfsamson/tools-resolution
- Owner: cfsamson
- Created: 2023-02-18T23:46:51.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-02-18T23:50:13.000Z (over 2 years ago)
- Last Synced: 2025-02-09T22:23:06.249Z (4 months ago)
- Language: Rust
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Resolution
Simple tool that prints the resolution based on exif data found on image files.
Most programs doesn't calculate the resolution and loading the images into a
special program just to see how many megapixels the image file has is just
overkill (especially if you want to do that for a lot of files).Once installed this simply reads any files in the current folder and list the
file name and calculates the number of megapixels of the file.Only tested on Jpeg files so far.
## Installation
Clone the repo and run:
```
cargo install --path .
```## Usage
Naviage to the folder with images and simply write:
```
resolution
```