Is there a command that can read image attributes , I only need it's height / width.
you could try file or more advanced command identify from ImageMagic packet.
read -r width height < <(identify -format "%w %h" "$imagefile")
Sign up using Google
Sign up using Facebook
Sign up using Stack Exchange
3 years ago