Link to home
Start Free TrialLog in
Avatar of hitzeu
hitzeu

asked on

Find out JPG screen size within shell script

Solaris 2.7 // bash

Hi,

I need to determine height / width of JPG files within a shell script. Which tool can be used for that?

Thanks
Avatar of ahoffmann
ahoffmann
Flag of Germany image

there exist a jpegtran program (not shure where to find it), which can be used as follows:
    jpegtran -verbose your.jpg |& grep -i width
Avatar of hitzeu
hitzeu

ASKER

URL is http://www.ijg.org/

Thanks a lot, ahoffmann
ASKER CERTIFIED SOLUTION
Avatar of PaulSmirnoff
PaulSmirnoff

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial