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 Email and Password
3 years ago