imgi

command module
v2.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 7, 2022 License: MIT Imports: 6 Imported by: 0

README

imgi

A CLI tool that prints images' information.

Usage

imgi [DIR] # DIR: directory containing image files (default: "./")

imgi will print images' information like this:

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

go install github.com/mys1024/imgi@latest

License

MIT

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL