[next] [prev] [prev-tail] [tail] [up]
Can use the file command. But the ouptput has to be parsed. easier to use imageinfo
file
imageinfo
>sudo apt-get install imageinfo #install if needed >w=`imageinfo --width foo.png` >echo $w 81 >h=`imageinfo --height foo.png` >echo $h 24
Reference:
[next] [prev] [prev-tail] [front] [up]