Page 1 of 1
[Resolved] Speed up EXIF extraction?
Posted: 2010-08-21T00:54:24-07:00
by NeilF
Is there a way to speed up EXIF extraction?
If I currently do:-
identify -ping -format "%[exif:*]" <file>
The response is quite slow, seemingly in proportion to the image size.
Is there a way of getting the EXIF tags quicker?
Re: Speed up EXIF extraction?
Posted: 2010-08-21T08:34:48-07:00
by Drarakel
With identify, you have to specify "-ping" after the "-format" option, to be quicker:
Code: Select all
identify -format "%[exif:*]" -ping <file>
And you could also use that - for JPG files:
Code: Select all
identify -define jpeg:size=64x64 -format "%[exif:*]" <file>
It probably won't be as quick as with "-ping" and it's not needed in your example, but it may be useful if you want other image properties (where "-ping" might not be appropriate).
Re: Speed up EXIF extraction?
Posted: 2010-08-21T08:59:19-07:00
by NeilF
Drarakel wrote:With identify, you have to specify "-ping" after the "-format" option, to be quicker:
Code: Select all
identify -format "%[exif:*]" -ping <file>
And you could also use that - for JPG files:
Code: Select all
identify -define jpeg:size=64x64 -format "%[exif:*]" <file>
It probably won't be as quick as with "-ping" and it's not needed in your example, but it may be useful if you want other image properties (where "-ping" might not be appropriate).
What a WORLD of difference! Adding the -ping in the right place makes if multiple times faster!!! THANKS!!!