How To Quickly Find the Size of an Image
To find the size of an image, I usually use ImageMagick’s identify command. Unfortuantely, identify is horribly slow, especially for JPEG 2000 images (thanks to a very slow libjasper).
So instead of using identify:
identify -format "%wx%h" image.jp2
Use exiftool instead:
exiftool -s -s -s -ImageSize image.jp2
exiftool is 62.5 times faster(!!!) than identify for finding image size on my dual 2.0Ghz Athlon.
Filed under: code code, commandline, exiftool, howto, identify, ImageMagick · 0 Comments
