imgsize
module for determining image sizes in several common formats
Install
- All systems
-
curl cmd.cat/imgsize.sh
- Debian
-
apt-get install libimage-size-perl - Ubuntu
-
apt-get install libimage-size-perl - Arch Linux
-
pacman -S perl-Image-Size - Kali Linux
-
apt-get install libimage-size-perl - Windows (WSL2)
-
sudo apt-get updatesudo apt-get install libimage-size-perl - Raspbian
-
apt-get install libimage-size-perl
libimage-size-perl
module for determining image sizes in several common formats
Image::Size is a Perl module capable of determining image sizes from several common formats. It handles XPM, XBM, GIF, JPEG, PNG, MNG, the PPM family of formats (PPM/PGM/PBM), TIFF, FlashMX (Shockwave Flash version 6), WMF/EMF, and more. It supports additional file types through Image::Magick (see perlmagick), and the included "imgsize" script provides access to Image::Size from the shell.