ExifTool Forum

ExifTool => Bug Reports / Feature Requests => Topic started by: TSM on May 30, 2013, 01:11:31 PM

Title: Metadata output order of fields different when batch processing
Post by: TSM on May 30, 2013, 01:11:31 PM
Version: 9.30
OS: Centos 6.3
CMD: exiftool -Composite:ALL allpix_0019148_0001.jpg allpix_0019148_0001.jpg

Source: https://docs.google.com/file/d/0B7Gftc42CL6WUTFiUzFicU0wZlk/edit?usp=sharing
Output: inline

There seems to be a minor issue with the order of the output when you are batch processing on cli or using stay_open (ive written a simple PHP script for this).
Look at how the 'Scale Factor To 35 mm Equivalent' moves from being the 3rd item on the first run and in the second run its the 5th from last. After that it will remain the same.
Just an oddity.


======== allpix_0019148_0001.jpg
Aperture                        : 11.0
Image Size                      : 4096x2730
Scale Factor To 35 mm Equivalent: 1.4
Shutter Speed                   : 1/25
Create Date                     : 2013:04:01 07:55:35.24
Date/Time Original              : 2013:04:01 07:55:35.24
Modify Date                     : 2013:05:30 11:32:51.24
Thumbnail Image                 : (Binary data 5 bytes, use -b option to extract)
Circle Of Confusion             : 0.021 mm
Field Of View                   : 56.1 deg
Focal Length                    : 24.0 mm (35 mm equivalent: 33.8 mm)
Hyperfocal Distance             : 2.45 m
Light Value                     : 11.6
======== allpix_0019148_0001.jpg
Aperture                        : 11.0
Image Size                      : 4096x2730
Shutter Speed                   : 1/25
Create Date                     : 2013:04:01 07:55:35.24
Date/Time Original              : 2013:04:01 07:55:35.24
Modify Date                     : 2013:05:30 11:32:51.24
Thumbnail Image                 : (Binary data 5 bytes, use -b option to extract)
Light Value                     : 11.6
Scale Factor To 35 mm Equivalent: 1.4
Circle Of Confusion             : 0.021 mm
Field Of View                   : 56.1 deg
Focal Length                    : 24.0 mm (35 mm equivalent: 33.8 mm)
Hyperfocal Distance             : 2.45 m
Title: Re: Metadata output order of fields different when batch processing
Post by: Phil Harvey on May 31, 2013, 08:58:32 AM
This is a bit odd.  I have tried hard to make the order of the Composite tags deterministic (which isn't trivial because the definitions are loaded dynamically depending on what modules have been used).  Could you mail me the sample image (philharvey66 at gmail.com).  I have tried with samples I have handy but can't reproduce this behaviour.

- Phil
Title: Re: Metadata output order of fields different when batch processing
Post by: TSM on July 17, 2013, 10:56:07 AM
I put it on google drive to download in the previous email. Its realy not important as just just a bit odd when doing side by side comparisons.

https://docs.google.com/file/d/0B7Gftc42CL6WUTFiUzFicU0wZlk/edit?usp=sharing