I'm looking for a faster CLI command to determine the quality of a jpeg.
The only method that I know of at the moment uses the identify program (part of imagemagick):
But this command is dog-slow:Code:stop@intersection:~% identify -verbose IMG_1681.JPG | grep -i Quality | awk '{print $2}' 98
Do you know of a better (quicker) way?Code:stop@intersection:~% time identify -verbose IMG_1681.JPG | grep -i Quality | awk '{print $2}' 98 real 0m8.769s user 0m8.661s sys 0m0.100s
Bookmarks