coder-free / metadata-extractor

Automatically exported from code.google.com/p/metadata-extractor
1 stars 0 forks source link

Nikon D90 makernote support #31

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I'm using metadata-extractor (java app in attachments), but it doesn't get ISO 
Speed from Exif data for my photos taken with Nikon D90.

Expected output:
http://www.flickr.com/photos/mariooshinnet/5935924901/meta/in/photostream/

ISO 100
ISOExpansion    Lo 1.0
ISO2    100
ISOExpansion2   Lo 1.0

Instead of metadata-extractor result:
[Jpeg] Compression Type - Baseline
[Jpeg] Data Precision - 8 bits
[Jpeg] Image Height - 531 pixels
[Jpeg] Image Width - 800 pixels
[Jpeg] Number of Components - 3
[Jpeg] Component 1 - Y component: Quantization table 0, Sampling factors 1 
horiz/2 vert
[Jpeg] Component 2 - Cb component: Quantization table 1, Sampling factors 1 
horiz/1 vert
[Jpeg] Component 3 - Cr component: Quantization table 1, Sampling factors 1 
horiz/1 vert
[Jfif] Version - 1.1
[Jfif] Resolution Units - unit
[Jfif] X Resolution - 19661100 dots
[Jfif] Y Resolution - 19660800 dots
[Exif SubIFD] Exposure Time - 1/400 sec
[Exif SubIFD] F-Number - F4
[Exif SubIFD] Exposure Program - Aperture priority
[Exif SubIFD] Exif Version - 2.21
[Exif SubIFD] Date/Time Original - 2011:07:09 19:34:30
[Exif SubIFD] Date/Time Digitized - 2011:07:09 19:34:30
[Exif SubIFD] Components Configuration - YCbCr
[Exif SubIFD] Compressed Bits Per Pixel - 4 bits/pixel
[Exif SubIFD] Exposure Bias Value - 0 EV
[Exif SubIFD] Max Aperture Value - F1,4
[Exif SubIFD] Metering Mode - Multi-segment
[Exif SubIFD] White Balance - Unknown (9)
[Exif SubIFD] Flash - Flash did not fire
[Exif SubIFD] Focal Length - 50,0 mm
[Exif SubIFD] User Comment - 
[Exif SubIFD] Sub-Sec Time - 00
[Exif SubIFD] Sub-Sec Time Original - 00
[Exif SubIFD] Sub-Sec Time Digitized - 00
[Exif SubIFD] FlashPix Version - 1.00
[Exif SubIFD] Color Space - Undefined
[Exif SubIFD] Exif Image Width - 4288 pixels
[Exif SubIFD] Exif Image Height - 2848 pixels
[Exif SubIFD] Sensing Method - One-chip color area sensor
[Exif SubIFD] File Source - Digital Still Camera (DSC)
[Exif SubIFD] Scene Type - Directly photographed image
[Exif SubIFD] CFA Pattern - 0 2 0 2 1 2 0 1
[Exif SubIFD] Custom Rendered - Normal process
[Exif SubIFD] Exposure Mode - Auto exposure
[Exif SubIFD] White Balance Mode - Manual white balance
[Exif SubIFD] Digital Zoom Ratio - 1
[Exif SubIFD] Focal Length 35 - 75mm
[Exif SubIFD] Scene Capture Type - Standard
[Exif SubIFD] Gain Control - None
[Exif SubIFD] Contrast - None
[Exif SubIFD] Saturation - None
[Exif SubIFD] Sharpness - None
[Exif SubIFD] Subject Distance Range - Unknown
[Exif SubIFD] Gamma - 2.2
[Exif IFD0] Make - NIKON CORPORATION
[Exif IFD0] Model - NIKON D90
[Exif IFD0] Orientation - Top, left side (Horizontal / normal)
[Exif IFD0] X Resolution - 300 dots per inch
[Exif IFD0] Y Resolution - 300 dots per inch
[Exif IFD0] Resolution Unit - Inch
[Exif IFD0] Software - Ver.1.00 
[Exif IFD0] Date/Time - 2011:07:09 19:34:30
[Exif IFD0] White Point - 313/1000 329/1000
[Exif IFD0] Primary Chromaticities - 64/100 33/100 21/100 71/100 15/100 6/100
[Exif IFD0] YCbCr Coefficients - 299/1000 587/1000 114/1000
[Exif IFD0] YCbCr Positioning - Datum point
[Nikon Makernote] Firmware Version - 2.10
[Nikon Makernote] ISO - Unknown (0 0 0 0)
[Nikon Makernote] Quality & File Format - FINE   
[Nikon Makernote] White Balance - SUNNY       
[Nikon Makernote] AF Type - AF-A  
[Nikon Makernote] Flash Sync Mode - NORMAL      
[Nikon Makernote] Auto Flash Mode -                    
[Nikon Makernote] White Balance Fine - 0 0
[Nikon Makernote] White Balance RB Coefficients - 461/256 335/256 256/256 
256/256
[Nikon Makernote] Program Shift - 0 EV
[Nikon Makernote] Exposure Difference - 0 EV
[Nikon Makernote] Preview IFD - 9210
[Nikon Makernote] Auto Flash Compensation - -0,67 EV
[Nikon Makernote] ISO - 0 0 0 0
[Nikon Makernote] Image Boundary - 0 0 4288 2848
[Nikon Makernote] Flash Exposure Compensation - 0 EV
[Nikon Makernote] Flash Bracket Compensation - 0 EV
[Nikon Makernote] AE Bracket Compensation - 0
[Nikon Makernote] Crop High Speed - 0 4352 2868 4352 2868 0 0
[Nikon Makernote] Exposure Tuning - 0 EV
[Nikon Makernote] Camera Serial Number - 6586619
[Nikon Makernote] Color Space - Adobe RGB
[Nikon Makernote] VR Info - 48 49 48 48 2 2 0 0
[Nikon Makernote] Active D-Lighting - Off
[Nikon Makernote] Picture Control - [58 bytes]
[Nikon Makernote] World Time - 0 120 1 2
[Nikon Makernote] ISO Info - [14 bytes]
[Nikon Makernote] Unknown 41 - [94 bytes]
[Nikon Makernote] Lens Type - AF, D
[Nikon Makernote] Lens - 50-50mm f/1.4-1.4
[Nikon Makernote] Flash Used - Flash Not Used
[Nikon Makernote] Shooting Mode - Single Frame
[Nikon Makernote] Unknown 20 - 1
[Nikon Makernote] Lens Stops - 7 EV
[Nikon Makernote] Shot Info - [6600 bytes]
[Nikon Makernote] Noise Reduction - OFF 
[Nikon Makernote] Color Balance - [1302 bytes]
[Nikon Makernote] Lens Data - [33 bytes]
[Nikon Makernote] Retouch History - 0 0 0 0 0 0 0 0 0 0
[Nikon Makernote] Image Data Size - 5972197
[Nikon Makernote] Unknown 27 - 0
[Nikon Makernote] Exposure Sequence Number - 13386
[Nikon Makernote] Flash Info - [22 bytes]
[Nikon Makernote] Digital Vari Program -                
[Nikon Makernote] Multi Exposure - [16 bytes]
[Nikon Makernote] High ISO Noise Reduction - Off
[Nikon Makernote] Power Up Time - 7 -37 7 2 9 6 44 0 (unable to formulate 
description)
[Nikon Makernote] AF Info 2 - [30 bytes]
[Nikon Makernote] File Info - [172 bytes]
[Nikon Makernote] Unknown 49 - 48 49 48 48 -1 0
[Interoperability] Interoperability Index - Unknown (R03)
[Interoperability] Interoperability Version - 1.00
[GPS] GPS Version ID - 2.200
[Exif Thumbnail] Thumbnail Compression - JPEG (old-style)
[Exif Thumbnail] X Resolution - 300 dots per inch
[Exif Thumbnail] Y Resolution - 300 dots per inch
[Exif Thumbnail] Resolution Unit - Inch
[Exif Thumbnail] Thumbnail Offset - 34416 bytes
[Exif Thumbnail] Thumbnail Length - 9075 bytes
[Exif Thumbnail] YCbCr Positioning - Datum point

Version: metadata-extractor-2.5.0-RC2.jar, OS: Windows xp and Linux

Original issue reported on code.google.com by marioosh...@gmail.com on 14 Jul 2011 at 10:20

Attachments:

GoogleCodeExporter commented 9 years ago
exiftool output in attachments

Original comment by marioosh...@gmail.com on 14 Jul 2011 at 10:48

Attachments:

GoogleCodeExporter commented 9 years ago
Thank you for this report. I'm not in front of the code right now but my guess 
is that the ISO tag wasn't moved correctly when the ExifDirectory was split in 
two. I will re-read the exif spec to ensure that the split is valid and the 
implementation correct.

Original comment by drewnoakes on 27 Jul 2011 at 6:12

GoogleCodeExporter commented 9 years ago
From looking at line 51 of the exiftool output, you can see that the ISO value 
is actually blank for that imate.  It seems that the D90 doesn't use the 
standard ISO tag, instead using a set of Nikon-specific tags.

It would seem that exiftool has better support for this camera makernote than 
metadata-extractor currently does.

I'm going to update this issue's summary to capture the need to improve 
makernote support for the D90.  Luckily I have one to experiment with.

I can see how it would be valuable to have the standard ISO tag return the 
value from the Nikon makernote, but this is not currently something that would 
be straightforward to achieve.  It's an interesting idea, to try and capture a 
certain type of tag value from across a range of directories.  Unfortunately I 
can't see a straightforward way to add this right now.

I'll update this issue if I learn more about the D90's implementation.

Original comment by drewnoakes on 18 Nov 2011 at 10:01

GoogleCodeExporter commented 9 years ago

Original comment by drewnoakes on 20 May 2012 at 5:56

GoogleCodeExporter commented 9 years ago
Relates to http://code.google.com/p/metadata-extractor/issues/detail?id=26

Original comment by drewnoakes on 16 Oct 2012 at 5:44

GoogleCodeExporter commented 9 years ago

Original comment by drewnoakes on 16 Oct 2012 at 5:45