Problem getting EXIF data
Posted: 2017-01-30T18:51:16-07:00
I have an image file processed with Daraktable. I wanted to put the timestamp on the image by extracting the exif data. I observed that the exif data extracted using the imagemagick is very limited.
When I use the exif on the same file, I get the full data.
If I just open and save this file in gimp, then IM reads all the data!
Can someone provide some help so that I do not have to open and save file using gimp to get the data?
The image file is at https://www.flickr.com/photos/sridharma ... 821593573/
Code: Select all
$ identify -format '%[exif:*]' dsc_1807.jpg
exif:ImageDescription=TB Dam, Hosapete
exif:Make=NIKON CORPORATION
exif:Model=NIKON D750
exif:Orientation=1
exif:XResolution=300
Code: Select all
$ exif dsc_1807.jpg
EXIF tags in 'dsc_1807.jpg' ('Intel' byte order):
--------------------+----------------------------------------------------------
Tag |Value
--------------------+----------------------------------------------------------
New Subfile Type |1
Image Description |TB Dam, Hosapete
Manufacturer |NIKON CORPORATION
Model |NIKON D750
Orientation |Top-left
X-Resolution |300
Resolution Unit |Inch
Software |darktable 2.2.0
Date and Time |2016:12:30 19:51:04
Artist |Sridhar M. A.
Reference Black/Whit| 0, 255, 0, 255, 0, 255
Copyright |CC-NC-SA (Photographer) - [None] (Editor)
TIFF/EP Standard ID |0x01, 0x00, 0x00, 0x00
Y-Resolution |72
Exposure Time |1/2 sec.
F-Number |f/2.8
Exposure Program |Manual
ISO Speed Ratings |6400
Date and Time (Origi|2016:12:20 18:53:46
Date and Time (Digit|2016:12:20 18:53:46
Exposure Bias |0.00 EV
Maximum Aperture Val|3.00 EV (f/2.8)
Metering Mode |Pattern
Light Source |Fine weather
Flash |Flash did not fire, compulsory flash mode
Focal Length |24.0 mm
Maker Note |30370 bytes undefined data
Sub-second Time |40
Sub-second Time (Ori|40
Sub-second Time (Dig|40
Color Space |sRGB
Pixel X Dimension |6032
Pixel Y Dimension |4032
Sensing Method |One-chip color area sensor
File Source |DSC
Scene Type |Directly photographed
CFA Pattern |8 bytes undefined data
Custom Rendered |Normal process
Exposure Mode |Manual exposure
White Balance |Manual white balance
Digital Zoom Ratio | 1
Focal Length in 35mm|24
Scene Capture Type |Standard
Gain Control |High gain up
Contrast |Normal
Saturation |Normal
Sharpness |Normal
Subject Distance Ran|Unknown
Exif Version |Exif Version 2.1
FlashPixVersion |FlashPix Version 1.0
--------------------+----------------------------------------------------------
Code: Select all
$ identify -format '%[exif:*]' dsc_1807-g.jpg
exif:Artist=Sridhar M. A.
exif:CFAPattern=2, 0, 2, 0, 0, 1, 1, 2
exif:ColorSpace=1
exif:Contrast=0
exif:Copyright=CC-NC-SA
exif:CustomRendered=0
exif:DateTime=2017:01:31 07:27:01
exif:DateTimeDigitized=2016:12:20 18:53:46
exif:DateTimeOriginal=2016:12:20 18:53:46
exif:DigitalZoomRatio=1/1
exif:ExifImageLength=1283
exif:ExifImageWidth=1920
exif:ExifOffset=354
exif:ExifVersion=48, 50, 49, 48
exif:ExposureBiasValue=0/6
exif:ExposureMode=1
exif:ExposureProgram=1
exif:ExposureTime=10/20
exif:FileSource=3
exif:Flash=16
exif:FlashPixVersion=48, 49, 48, 48
exif:FNumber=28/10
exif:FocalLength=240/10
exif:FocalLengthIn35mmFilm=24
exif:GainControl=2
exif:ImageDescription=TB Dam, Hosapete
exif:ISOSpeedRatings=6400
exif:LightSource=9
exif:Make=NIKON CORPORATION
exif:MakerNote=78, 105, 107, 111, 110, 0, 2, 0, 0, 0, 73, 73, 42, 0, 8, 0, 0, 0, 65, 0, 31, 0, 7, 0, 8, 0, 0, 0, 26, 3, 0, 0, 35, 0, 7, 0, 68, 0, 0, 0, 34, 3, 0, 0, 36, 0, 7, 0, 4, 0, 0, 0, 74, 1, 0, 0, 37, 0, 7, 0, 14, 0, 0, 0, 102, 3, 0, 0, 145, 0, 7, 0, 60, 60, 0, 0, 116, 3, 0, 0, 151, 0, 7, 0, 200, 4, 0, 0, 176, 63, 0, 0, 152, 0, 7, 0, 33, 0, 0, 0, 120, 68, 0, 0, 176, 0, 7, 0, 16, 0, 0, 0, 153, 68, 0, 0, 183, 0, 7, 0, 30, 0, 0, 0, 169, 68, 0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 2, 0, 0, 0, 100, 72, 0, 0, 64, 0, 7, 0, 12, 0, 0, 0, 116, 72, 0, 0, 66, 0, 7, 0, 6, 0, 0, 0, 128, 72, 0, 0, 131, 0, 1, 0, 1, 0, 0, 0, 14, 0, 0, 0, 132, 0, 5, 0, 4, 0, 0, 0, 134, 72, 0, 0, 135, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 137, 0, 3, 0, 1, 0, 0, 0, 0, 0, 0, 0, 138, 0, 3, 0, 1, 0, 0, 0, 1, 0, 0, 0, 139, 0, 7, 0, 4, 0, 0, 0, 72, 1, 12, 0, 140, 0, 7, 0, 66, 2, 0, 0, 166, 72, 0, 0, 147, 0, 3, 0, 1, 0, 0, 0, 3, 0, 0, 0, 149, 0, 2, 0, 5, 0, 0, 0, 232, 74, 0, 0, 150, 0, 7, 0, 46, 0, 0, 0, 237, 74, 0, 0, 153, 0, 3, 0, 2, 0, 0, 0, 200, 11, 224, 7, 158, 0, 3, 0, 10, 0, 0, 0, 27, 75, 0, 0, 163, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 164, 0, 7, 0, 4, 0, 0, 0, 48, 51, 48, 48, 167, 0, 4, 0, 1, 0, 0, 0, 126, 7, 0, 0, 168, 0, 7, 0, 51, 0, 0, 0, 47, 75, 0, 0, 171, 0, 2, 0, 16, 0, 0, 0, 98, 75, 0, 0, 177, 0, 3, 0, 1, 0, 0, 0, 4, 0, 0, 0, 182, 0, 7, 0, 8, 0, 0, 0, 114, 75, 0, 0, 186, 0, 7, 0, 16, 12, 0, 0, 122, 75, 0, 0, 187, 0, 7, 0, 8, 0, 0, 0, 138, 87, 0, 0, 188, 0, 7, 0, 154, 30, 0, 0, 146, 87, 0, 0, 191, 0, 3, 0, 1, 0, 0, 0, 0, 0, 0, 0, 192, 0, 7, 0, 8, 0, 0, 0, 44, 118, 0, 0, 17, 0, 4, 0, 1, 0, 0, 0, 58, 118, 0, 0, 0, 0, 0, 0, 48, 49, 48, 48, 2, 2, 0, 0, 48, 50, 48, 48, 83, 84, 65, 78, 68, 65, 82, 68, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 83, 84, 65, 78, 68, 65, 82, 68, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 128, 1, 140, 4, 132, 4, 128, 4, 128, 4, 128, 4, 128, 4, 255, 255, 255, 4, 0, 132, 1, 12, 0, 0, 0, 132, 1, 12, 0, 0, 0, 0, 0, 48, 50, 51, 52, 146, 142, 138, 192, 69, 182, 68, 239, 150, 156, 158, 189, 109, 82, 200, 91, 159, 223, 194, 201, 249, 38, 140, 7, 159, 84, 38, 21, 53, 93, 144, 243, 52, 7, 202, 161, 247, 177, 212, 31, 254, 27, 174, 109, 219, 85, 88, 139, 233, 80, 210, 121, 198, 6, 28, 55, 80, 221, 54, 197, 23, 35, 32, 35, 231, 153, 218, 81, 93, 143, 100, 79, 150, 101, 190, 29, 94, 43, 232, 187, 79, 161, 226, 41, 109, 20, 172, 103, 63, 52, 70, 117, 37, 48, 176, 83, 119, 208, 234, 1, 53, 134, 244, 127, 39, 236, 206, 205, 57, 20, 120, 235, 123, 31, 242, 217, 205, 201, 60, 151, 95, 147, 86, 37, 17, 26, 64, 131, 83, 87, 250, 177, 133, 118, 132, 175, 203, 100, 222, 125, 57, 18, 8, 27, 226, 75, 9, 241, 79, 3, 39, 216, 151, 20, 126, 213, 105, 11, 91, 77, 179, 208, 10, 97, 213, 102, 20, 223, 199, 76, 213, 108, 90, 252, 106, 180, 98, 247, 149, 121, 125, 222, 154, 8, 7, 123, 228, 197, 124, 196, 69, 226, 141, 64, 158, 17, 89, 105, 164, 15, 174, 60, 166, 221, 182, 205, 40, 123, 137, 149, 201, 246, 159, 55, 146, 38, 68, 241, 239, 54, 215, 232, 38, 17, 43, 181, 211, 194, 117, 61, 86, 108, 103, 172, 14, 141, 41, 226, 18
exif:MaxApertureValue=30/10
exif:MeteringMode=5
exif:Model=NIKON D750
exif:Orientation=1
exif:ReferenceBlackWhite=0/1, 255/1, 0/1, 255/1, 0/1, 255/1
exif:ResolutionUnit=2
exif:Saturation=0
exif:SceneCaptureType=0
exif:SceneType=1
exif:SensingMethod=2
exif:Sharpness=0
exif:Software=GIMP 2.8.18
exif:SubjectDistanceRange=0
exif:SubSecTime=40
exif:SubSecTimeDigitized=40
exif:SubSecTimeOriginal=40
exif:thumbnail:JPEGInterchangeFormat=31188
exif:thumbnail:JPEGInterchangeFormatLength=4607
exif:TIFF-EPStandardID=1, 0, 0, 0
exif:WhiteBalance=1
exif:XResolution=300
exif:YResolution=300/1
The image file is at https://www.flickr.com/photos/sridharma ... 821593573/