Skip to content

sarkian/imgsize

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

imgsize - Simple tool that prints the image(s) size using LibGD.

Usage

$ imgsize [OPTION] ~/path/to/image.png
    or
$ imgsize [OPTION] img1.png img2.jpg # etc.
    or
$ imgsize [OPTION] /path/to/directory/with/images/*

Options

  • -o - Print only size, without filename
  • -n - Not print newlines
  • -s - Not display errors
  • -b - Space before
  • -a - Space after
  • -h - Display help and exit

Installing

$ git clone https://github.com/sarkian/imgsize
$ cd imgsize
$ make
$ sudo make install

Dependencies

  • LibGD (On Ubuntu just install libgd-dev)

Uninstalling

$ sudo make uninstall

License

MIT License

About

Simple tool that prints the image(s) size using GD

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages