https://github.com/mys1024/imgi
A CLI tool that prints images' information.
https://github.com/mys1024/imgi
cli image tool
Last synced: about 1 month ago
JSON representation
A CLI tool that prints images' information.
- Host: GitHub
- URL: https://github.com/mys1024/imgi
- Owner: mys1024
- License: mit
- Created: 2022-08-14T08:35:49.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-10-07T15:48:31.000Z (over 3 years ago)
- Last Synced: 2025-02-23T04:07:05.640Z (over 1 year ago)
- Topics: cli, image, tool
- Language: Go
- Homepage:
- Size: 15.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# imgi
A CLI tool that prints images' information.
## Usage
```bash
imgi [DIR] # DIR: directory containing image files (default: "./")
```
`imgi` will print images' information like this:
```txt
images:
- name: 1.jpg
width: 2160
height: 2880
- name: 2.png
width: 2160
height: 2880
- name: 3.webp
width: 2160
height: 2880
```
## Flags
- --format value, -f value
set output format, available value: "yaml", "toml", "json" (default: "yaml")
- --copy, -c
copy output to clipboard (default: false)
## Supported image formats
- JPEG (.jpg, .jpeg)
- PNG (.png)
- WEBP (.webp)
- GIF (.gif)
## Install from source code
```bash
go install github.com/mys1024/imgi/v2@latest
```
## License
MIT