Missing EXIF data in identify (IM 6.9.4-1)

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
micpalmia
Posts: 1
Joined: 2016-05-12T02:09:05-07:00
Authentication code: 1151

Missing EXIF data in identify (IM 6.9.4-1)

Post by micpalmia »

In 6.9.4-1, calling

Code: Select all

identify -verbose imagename
does not return gps location (GPSLongitude, GPSLatitude) and some other properties (e.g. DateTimeOriginal). Under the Properties section, there is now an unknown property indicating a count - not sure if that matters.

We are currently using ImageMagick 6.9.2-1 to extract image properties from photos (exif data, gps location), and we would like to update as suggested to the latest version. Any way to fix this on our side? Any suggestions?

In ImageMagick 6.9.4-1

Code: Select all

Properties:
    date:create: 2016-05-11T15:43:20+00:00
    date:modify: 2014-07-22T12:56:58+00:00
    exif:DateTime: 2013:08:13 16:50:45
    exif:Make: Apple
    exif:Model: iPhone 5
    exif:Orientation: 1
    exif:Software: 6.1
    jpeg:colorspace: 2
    jpeg:sampling-factor: 2x2,1x1,1x1
    signature: 40761b3aa9dfd9b4c13c8cfa5b73279126c420259a7d7dbfc5e6e3b604ba0ca4
    unknown: 134
while in ImageMagick 6.9.2-1, for the exact same image, we get

Code: Select all

Properties:
    date:create: 2016-05-12T10:09:09+00:00
    date:modify: 2015-06-30T19:03:37+00:00
    exif:ColorSpace: 1
    exif:DateTime: 2013:08:13 16:50:45
    exif:DateTimeDigitized: 2013:08:13 16:50:45
    exif:DateTimeOriginal: 2013:08:13 16:50:45
    exif:ExifImageLength: 1280
    exif:ExifImageWidth: 960
    exif:ExifOffset: 134
    exif:GPSAltitude: 48417/376
    exif:GPSDateStamp: 2013:08:13
    exif:GPSInfo: 302
    exif:GPSLatitude: 37/1, 3043/100, 0/1
    exif:GPSLatitudeRef: N
    exif:GPSLongitude: 15/1, 368/100, 0/1
    exif:GPSLongitudeRef: E
    exif:GPSSpeed: 0/1
    exif:GPSSpeedRef: K
    exif:GPSTimeStamp: 0/0, 0/0, 0/0
    exif:GPSTrack: 9405/64
    exif:GPSTrackRef: T
    exif:Make: Apple
    exif:MakerNote: 255, 225, 0, 49, 105, 79, 83, 32, 0, 0, 77, 77, 0, 42, 0, 0, 0, 8, 0, 1, 146, 134, 0, 7, 0, 0, 0, 13, 0, 0, 0, 26, 0, 0, 0, 0, 65, 83, 67, 73, 73, 0, 0, 0, 65, 112, 112, 108, 101
    exif:Model: iPhone 5
    exif:Orientation: 1
    exif:Software: 6.1
    jpeg:colorspace: 2
    jpeg:sampling-factor: 2x2,1x1,1x1
    signature: 40761b3aa9dfd9b4c13c8cfa5b73279126c420259a7d7dbfc5e6e3b604ba0ca4
stefano.gironella
Posts: 2
Joined: 2016-05-12T09:10:07-07:00
Authentication code: 1151

Re: Missing EXIF data in identify (IM 6.9.4-1)

Post by stefano.gironella »

Same here with ImageMagick-6.9.3.8 'Properties' tag was:

Code: Select all

  Properties:
    date:create: 2016-05-10T17:19:02+02:00
    date:modify: 2016-05-10T11:18:27+02:00
    exif:DateTime: 2016:05:01 12:14:00
    exif:DateTimeDigitized: 2016:05:01 12:14:00
    exif:DateTimeOriginal: 2016:05:01 12:14:00
    exif:ExifOffset: 226
    exif:GPSAltitudeRef: 0
    exif:GPSDateStamp: 2016:05:01
    exif:GPSInfo: 256
    exif:GPSLatitude: 29/1, 3/1, 2580/100
    exif:GPSLatitudeRef: N
    exif:GPSLongitude: 13/1, 30/1, 1216/100
    exif:GPSLongitudeRef: W
    exif:GPSProcessingMethod: 0
    exif:GPSTimeStamp: 11/1, 13/1, 40/1
    exif:ImageLength: 984
    exif:ImageWidth: 8704
    exif:JPEGInterchangeFormat: 345
    exif:JPEGInterchangeFormatLength: 0
    exif:LightSource: 0
    exif:Make: LGE
    exif:MeteringMode: 65535
    exif:Model: Nexus 5
    exif:Orientation: 0
    icc:name: IEC 61966-2-1 Default RGB Colour Space - sRGB
    jpeg:colorspace: 2
    jpeg:sampling-factor: 2x2,1x1,1x1
    signature: fba36986ad944b067125882ac35855d6059b2b4c6e65fce214ba7336fd5a1d65
with ImageMagick-6.9.3.9 (targeting same image) i get:

Code: Select all

  Properties:
    date:create: 2016-05-10T15:10:48+02:00
    date:modify: 2016-05-10T15:10:48+02:00
    exif:DateTime: 2016:05:01 12:14:00
    exif:ImageLength: 984
    exif:ImageWidth: 8704
    exif:Make: LGE
    exif:Model: Nexus 5
    exif:Orientation: 0
    icc:copyright: Copyright International Color Consortium, 2009
    icc:description: sRGB IEC61966-2-1 black scaled
    icc:manufacturer: sRGB IEC61966-2-1 black scaled
    icc:model: IEC 61966-2-1 Default RGB Colour Space - sRGB
    jpeg:colorspace: 2
    jpeg:sampling-factor: 2x2,1x1,1x1
    signature: 1b46d9b0a7bf56b9d7c719a90f0d07994ef15e189a8919488fed8f0c50aa6cb8
    unknown: 256
Everything else is worging as expected.

Any ideas?

Thank you
User avatar
dlemstra
Posts: 1570
Joined: 2013-05-04T15:28:54-07:00
Authentication code: 6789
Contact:

Re: Missing EXIF data in identify (IM 6.9.4-1)

Post by dlemstra »

Can you share your image so we can try to reproduce this?
.NET + ImageMagick = Magick.NET https://github.com/dlemstra/Magick.NET, @MagickNET, Donate
stefano.gironella
Posts: 2
Joined: 2016-05-12T09:10:07-07:00
Authentication code: 1151

Re: Missing EXIF data in identify (IM 6.9.4-1)

Post by stefano.gironella »

Thanks for your fast reply, here is a download link for a semple image:

http://storage.gcloud.schema31.it/dispa ... 10186dd9ec
User avatar
dlemstra
Posts: 1570
Joined: 2013-05-04T15:28:54-07:00
Authentication code: 6789
Contact:

Re: Missing EXIF data in identify (IM 6.9.4-1)

Post by dlemstra »

We also got a bug report on github (https://github.com/ImageMagick/ImageMagick/issues/198) and we just pushed a patch to resolve this. This will be resolved in the next version of ImageMagick.
.NET + ImageMagick = Magick.NET https://github.com/dlemstra/Magick.NET, @MagickNET, Donate
Post Reply