Missing exif tags from identify (6.6.9-7)
Posted: 2013-12-07T02:25:49-07:00
I'm having some issues where ImageMagick does not detect all EXIF data in some images.
First test is on a stock Ubuntu-12.04.3-LTS:
No EXIF tags are listed amongst the properties.
Now for another file on the same machine (I removed all Histogram data when writing this post):
The last image contains a lot of EXIF tags in the properties.
Now, if I run the commands again on a stock Ubuntu-13.10:
and (again, I removed the histogram stuff):
The two images in question are:
https://raw.github.com/christeredvartse ... otated.jpg
https://raw.github.com/christeredvartse ... f-logo.jpg
Is this a known issue in the 6.6.9-7 version, or is there something wrong with the exif data in the 640x160_rotated.jpg image? The reason I'm using 6.6.9-7 is that I run some automated tests on Travis-CI (https://travis-ci.org), and they use the regular imagemagick package on Ubuntu-12.04.
Btw, when using the exif tool on both machines (not in the imagemageick package), all exif information is listed, so it seems that the images are somewhat correctly tagged.
First test is on a stock Ubuntu-12.04.3-LTS:
Code: Select all
ubuntu@ip-10-224-83-146:~$ identify -verbose 640x160_rotated.jpg
Image: 640x160_rotated.jpg
Format: JPEG (Joint Photographic Experts Group JFIF format)
Class: DirectClass
Geometry: 160x640+0+0
Resolution: 72x72
Print size: 2.22222x8.88889
Units: PixelsPerInch
Type: TrueColor
Endianess: Undefined
Colorspace: RGB
Depth: 8-bit
Channel depth:
red: 8-bit
green: 8-bit
blue: 8-bit
Channel statistics:
Red:
min: 9 (0.0352941)
max: 255 (1)
mean: 102.859 (0.40337)
standard deviation: 79.8439 (0.313113)
kurtosis: -0.629816
skewness: 0.767294
Green:
min: 41 (0.160784)
max: 255 (1)
mean: 145.967 (0.57242)
standard deviation: 65.1105 (0.255335)
kurtosis: -1.16527
skewness: 0.349723
Blue:
min: 0 (0)
max: 255 (1)
mean: 46.6078 (0.182776)
standard deviation: 89.7697 (0.352038)
kurtosis: 1.43696
skewness: 1.8353
Image statistics:
Overall:
min: 0 (0)
max: 255 (1)
mean: 98.478 (0.386188)
standard deviation: 78.8945 (0.30939)
kurtosis: 0.16336
skewness: 0.825524
Rendering intent: Undefined
Interlace: JPEG
Background color: white
Border color: rgb(223,223,223)
Matte color: grey74
Transparent color: black
Compose: Over
Page geometry: 160x640+0+0
Dispose: Undefined
Iterations: 0
Compression: JPEG
Quality: 100
Orientation: Undefined
Properties:
date:create: 2013-12-07T09:09:08+00:00
date:modify: 2013-12-07T09:09:08+00:00
jpeg:colorspace: 2
jpeg:sampling-factor: 1x1,1x1,1x1
signature: 0621879a3a82218b57008796c8c36d83ee8f52c5882823b9aaea24fd110216a7
Profiles:
Profile-exif: 20 bytes
Artifacts:
verbose: true
Tainted: False
Filesize: 26.7KBB
Number pixels: 102KB
Pixels per second: 10.24MB
User time: 0.010u
Elapsed time: 0:01.010
Version: ImageMagick 6.6.9-7 2012-08-17 Q16 http://www.imagemagick.org
Now for another file on the same machine (I removed all Histogram data when writing this post):
Code: Select all
Image: exif-logo.jpg
Format: JPEG (Joint Photographic Experts Group JFIF format)
Class: DirectClass
Geometry: 256x256+0+0
Resolution: 72x72
Print size: 3.55556x3.55556
Units: PixelsPerInch
Type: TrueColor
Endianess: Undefined
Colorspace: RGB
Depth: 8-bit
Channel depth:
red: 8-bit
green: 8-bit
blue: 8-bit
Channel statistics:
Red:
min: 10 (0.0392157)
max: 255 (1)
mean: 116.896 (0.458416)
standard deviation: 80.6523 (0.316283)
kurtosis: -0.892697
skewness: 0.630371
Green:
min: 49 (0.192157)
max: 255 (1)
mean: 155.044 (0.608016)
standard deviation: 64.6998 (0.253725)
kurtosis: -1.22012
skewness: 0.27594
Blue:
min: 0 (0)
max: 255 (1)
mean: 61.789 (0.24231)
standard deviation: 99.3452 (0.389589)
kurtosis: -0.108018
skewness: 1.32829
Image statistics:
Overall:
min: 0 (0)
max: 255 (1)
mean: 111.243 (0.436247)
standard deviation: 82.7855 (0.324649)
kurtosis: -0.38187
skewness: 0.509487
Histogram:
Rendering intent: Undefined
Interlace: None
Background color: white
Border color: rgb(223,223,223)
Matte color: grey74
Transparent color: black
Compose: Over
Page geometry: 256x256+0+0
Dispose: Undefined
Iterations: 0
Compression: JPEG
Quality: 90
Orientation: TopLeft
Properties:
date:create: 2013-12-07T09:09:03+00:00
date:modify: 2013-12-07T09:09:03+00:00
exif:ApertureValue: 14819/5375
exif:BrightnessValue: 911/100
exif:ColorSpace: 1
exif:ComponentsConfiguration: 1, 2, 3, 0
exif:Compression: 6
exif:DateTime: 2012:06:09 19:17:52
exif:DateTimeDigitized: 2012:06:09 19:17:52
exif:DateTimeOriginal: 2012:06:09 19:17:52
exif:ExifImageLength: 256
exif:ExifImageWidth: 256
exif:ExifOffset: 212
exif:ExifVersion: 48, 50, 50, 48
exif:ExposureBiasValue: 0/1
exif:ExposureMode: 0
exif:ExposureProgram: 3
exif:ExposureTime: 1/803
exif:Flash: 16
exif:FlashPixVersion: 48, 49, 48, 48
exif:FNumber: 27/10
exif:FocalLength: 4/1
exif:GPSAltitude: 254/5
exif:GPSAltitudeRef: 0
exif:GPSDateStamp: 2012:06:09
exif:GPSInfo: 730
exif:GPSLatitude: 63/1, 40/1, 173857/3507
exif:GPSLatitudeRef: N
exif:GPSLongitude: 9/1, 5/1, 38109/12500
exif:GPSLongitudeRef: E
exif:GPSProcessingMethod: 65, 83, 67, 73, 73, 0, 0, 0
exif:GPSTimeStamp: 17/1, 17/1, 51/1
exif:GPSVersionID: 2, 2, 0, 0
exif:ImageUniqueID: OMEF01
exif:ISOSpeedRatings: 32
exif:JPEGInterchangeFormat: 1062
exif:JPEGInterchangeFormatLength: 56592
exif:Make: SAMSUNG
exif:MakerNote: 5, 0, 1, 0, 7, 0, 4, 0, 0, 0, 48, 49, 48, 48, 2, 0, 4, 0, 1, 0, 0, 0, 0, 32, 1, 0, 64, 0, 4, 0, 1, 0, 0, 0, 0, 0, 0, 0, 80, 0, 4, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 1, 3, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
exif:MaxApertureValue: 14819/5375
exif:MeteringMode: 1
exif:Model: GT-I9100
exif:Orientation: 1
exif:ResolutionUnit: 2
exif:SceneCaptureType: 1
exif:ShutterSpeedValue: 29189/3025
exif:Software: I9100XWLPG
exif:UserComment: 65, 83, 67, 73, 73, 0, 0, 0, 85, 115, 101, 114, 32, 99, 111, 109, 109, 101, 110, 116, 115
exif:WhiteBalance: 0
exif:XResolution: 72/1
exif:YCbCrPositioning: 1
exif:YResolution: 72/1
jpeg:colorspace: 2
jpeg:sampling-factor: 2x2,1x1,1x1
signature: d060c13a2785bec33800254b1fa97b7db520959e465269912e8fa741390f7060
Profiles:
Profile-exif: 57660 bytes
Artifacts:
verbose: true
Tainted: False
Filesize: 62.8KBB
Number pixels: 65.5KB
Pixels per second: 655.36TB
User time: 0.000u
Elapsed time: 0:01.000
Version: ImageMagick 6.6.9-7 2012-08-17 Q16 http://www.imagemagick.org
Now, if I run the commands again on a stock Ubuntu-13.10:
Code: Select all
ubuntu@ip-10-224-82-244:~$ identify -verbose 640x160_rotated.jpg
Image: 640x160_rotated.jpg
Format: JPEG (Joint Photographic Experts Group JFIF format)
Class: DirectClass
Geometry: 160x640+0+0
Resolution: 72x72
Print size: 2.22222x8.88889
Units: PixelsPerInch
Type: TrueColor
Endianess: Undefined
Colorspace: sRGB
Depth: 8-bit
Channel depth:
red: 8-bit
green: 8-bit
blue: 8-bit
Channel statistics:
Red:
min: 9 (0.0352941)
max: 255 (1)
mean: 102.86 (0.403371)
standard deviation: 79.8442 (0.313114)
kurtosis: -0.629815
skewness: 0.767295
Green:
min: 41 (0.160784)
max: 255 (1)
mean: 145.967 (0.57242)
standard deviation: 65.1104 (0.255335)
kurtosis: -1.16526
skewness: 0.349726
Blue:
min: 0 (0)
max: 255 (1)
mean: 46.608 (0.182776)
standard deviation: 89.7701 (0.35204)
kurtosis: 1.43695
skewness: 1.83529
Image statistics:
Overall:
min: 0 (0)
max: 255 (1)
mean: 98.4782 (0.386189)
standard deviation: 78.8947 (0.309391)
kurtosis: 0.163356
skewness: 0.825523
Rendering intent: Perceptual
Gamma: 0.454545
Chromaticity:
red primary: (0.64,0.33)
green primary: (0.3,0.6)
blue primary: (0.15,0.06)
white point: (0.3127,0.329)
Interlace: JPEG
Background color: white
Border color: srgb(223,223,223)
Matte color: grey74
Transparent color: black
Compose: Over
Page geometry: 160x640+0+0
Dispose: Undefined
Iterations: 0
Compression: JPEG
Quality: 100
Orientation: RightTop
Properties:
date:create: 2013-12-07T09:17:25+00:00
date:modify: 2013-12-07T09:17:25+00:00
exif:ColorSpace: 65535
exif:ComponentsConfiguration: 1, 2, 3, 0
exif:DateTime: 2013:11:13 08:12:38
exif:ExifImageLength: 640
exif:ExifImageWidth: 160
exif:ExifOffset: 134
exif:ExifVersion: 48, 50, 49, 48
exif:FlashPixVersion: 48, 49, 48, 48
exif:Orientation: 6
exif:ResolutionUnit: 2
exif:XResolution: 72/1
exif:YCbCrPositioning: 1
exif:YResolution: 72/1
jpeg:colorspace: 2
jpeg:sampling-factor: 1x1,1x1,1x1
signature: 6ecf5e2d460225a3b36f7f89a7c005d9260f12a4dbc8534e54af955cbc2303e0
Profiles:
Profile-exif: 238 bytes
Artifacts:
filename: 640x160_rotated.jpg
verbose: true
Tainted: False
Filesize: 26.7KB
Number pixels: 102K
Pixels per second: 10.24MB
User time: 0.000u
Elapsed time: 0:01.009
Version: ImageMagick 6.7.7-10 2013-09-10 Q16 http://www.imagemagick.org
Code: Select all
ubuntu@ip-10-224-82-244:~$ identify -verbose exif-logo.jpg
Image: exif-logo.jpg
Format: JPEG (Joint Photographic Experts Group JFIF format)
Class: DirectClass
Geometry: 256x256+0+0
Resolution: 72x72
Print size: 3.55556x3.55556
Units: PixelsPerInch
Type: TrueColor
Endianess: Undefined
Colorspace: sRGB
Depth: 8-bit
Channel depth:
red: 8-bit
green: 8-bit
blue: 8-bit
Channel statistics:
Red:
min: 10 (0.0392157)
max: 255 (1)
mean: 116.895 (0.458412)
standard deviation: 80.6515 (0.31628)
kurtosis: -0.892658
skewness: 0.630392
Green:
min: 49 (0.192157)
max: 255 (1)
mean: 155.045 (0.608021)
standard deviation: 64.6979 (0.253717)
kurtosis: -1.22018
skewness: 0.275981
Blue:
min: 0 (0)
max: 255 (1)
mean: 61.7831 (0.242287)
standard deviation: 99.3477 (0.389599)
kurtosis: -0.108042
skewness: 1.32828
Image statistics:
Overall:
min: 0 (0)
max: 255 (1)
mean: 111.241 (0.43624)
standard deviation: 82.7858 (0.32465)
kurtosis: -0.381749
skewness: 0.509433
Colors: 693
Histogram:
Rendering intent: Perceptual
Gamma: 0.454545
Chromaticity:
red primary: (0.64,0.33)
green primary: (0.3,0.6)
blue primary: (0.15,0.06)
white point: (0.3127,0.329)
Interlace: None
Background color: white
Border color: srgb(223,223,223)
Matte color: grey74
Transparent color: black
Compose: Over
Page geometry: 256x256+0+0
Dispose: Undefined
Iterations: 0
Compression: JPEG
Quality: 90
Orientation: TopLeft
Properties:
date:create: 2013-12-07T09:17:30+00:00
date:modify: 2013-12-07T09:17:30+00:00
exif:ApertureValue: 14819/5375
exif:BrightnessValue: 911/100
exif:ColorSpace: 1
exif:ComponentsConfiguration: 1, 2, 3, 0
exif:Compression: 6
exif:DateTime: 2012:06:09 19:17:52
exif:DateTimeDigitized: 2012:06:09 19:17:52
exif:DateTimeOriginal: 2012:06:09 19:17:52
exif:ExifImageLength: 256
exif:ExifImageWidth: 256
exif:ExifOffset: 212
exif:ExifVersion: 48, 50, 50, 48
exif:ExposureBiasValue: 0/1
exif:ExposureMode: 0
exif:ExposureProgram: 3
exif:ExposureTime: 1/803
exif:Flash: 16
exif:FlashPixVersion: 48, 49, 48, 48
exif:FNumber: 27/10
exif:FocalLength: 4/1
exif:GPSAltitude: 254/5
exif:GPSAltitudeRef: 0
exif:GPSDateStamp: 2012:06:09
exif:GPSInfo: 730
exif:GPSLatitude: 63/1, 40/1, 173857/3507
exif:GPSLatitudeRef: N
exif:GPSLongitude: 9/1, 5/1, 38109/12500
exif:GPSLongitudeRef: E
exif:GPSProcessingMethod: 65, 83, 67, 73, 73, 0, 0, 0
exif:GPSTimeStamp: 17/1, 17/1, 51/1
exif:GPSVersionID: 2, 2, 0, 0
exif:ImageUniqueID: OMEF01
exif:ISOSpeedRatings: 32
exif:JPEGInterchangeFormat: 1062
exif:JPEGInterchangeFormatLength: 56592
exif:Make: SAMSUNG
exif:MakerNote: 5, 0, 1, 0, 7, 0, 4, 0, 0, 0, 48, 49, 48, 48, 2, 0, 4, 0, 1, 0, 0, 0, 0, 32, 1, 0, 64, 0, 4, 0, 1, 0, 0, 0, 0, 0, 0, 0, 80, 0, 4, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 1, 3, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
exif:MaxApertureValue: 14819/5375
exif:MeteringMode: 1
exif:Model: GT-I9100
exif:Orientation: 1
exif:ResolutionUnit: 2
exif:SceneCaptureType: 1
exif:ShutterSpeedValue: 29189/3025
exif:Software: I9100XWLPG
exif:UserComment: 65, 83, 67, 73, 73, 0, 0, 0, 85, 115, 101, 114, 32, 99, 111, 109, 109, 101, 110, 116, 115
exif:WhiteBalance: 0
exif:XResolution: 72/1
exif:YCbCrPositioning: 1
exif:YResolution: 72/1
jpeg:colorspace: 2
jpeg:sampling-factor: 2x2,1x1,1x1
signature: a431c64f9bfc797a6d1d830388b870b71a5628c49bf196bc927fadd053de1960
Profiles:
Profile-exif: 57660 bytes
Artifacts:
filename: exif-logo.jpg
verbose: true
Tainted: False
Filesize: 62.8KB
Number pixels: 65.5K
Pixels per second: 6.554MB
User time: 0.000u
Elapsed time: 0:01.010
Version: ImageMagick 6.7.7-10 2013-09-10 Q16 http://www.imagemagick.org
https://raw.github.com/christeredvartse ... otated.jpg
https://raw.github.com/christeredvartse ... f-logo.jpg
Is this a known issue in the 6.6.9-7 version, or is there something wrong with the exif data in the 640x160_rotated.jpg image? The reason I'm using 6.6.9-7 is that I run some automated tests on Travis-CI (https://travis-ci.org), and they use the regular imagemagick package on Ubuntu-12.04.
Btw, when using the exif tool on both machines (not in the imagemageick package), all exif information is listed, so it seems that the images are somewhat correctly tagged.