Project

General

Profile

Bug #641

exiv2 "Image size" output broken for Nikon D700 NEF files

Added by Andreas Huggel over 12 years ago. Updated almost 12 years ago.

Status:
Closed
Priority:
Normal
Category:
tools
Target version:
Start date:
24 Jul 2009
Due date:
% Done:

100%

Estimated time:

Description

Andreas,

Very nice program, I use it a lot on my pictures! I was still using 0.14 but upgraded my camera so I thought also upgrade exiv2.

After 0.17.1 something is broken in the processing of Nikon D700 NEF files. Camera generated JPGs are processed ok. The NEF information shows a size of 160x120 in both fields.
I've tested 0.18/1/2, they all have the same behavior. Below the EXIF info from 0.18.2 and 0.17.1.
Maybe it is now reporting the size of the embedded thumbnail? This is the NEF file used for the info below: www.martinparis.com/MP0_0175.NEF. Change NEF to JPG and you'll get the in camera JPG.

This is the 0.18.2 info for the NEF file:
exiv2.exe MP0_0175.NEF
Error: Directory SubImage1: Next pointer is out of bounds; ignored.
File name : MP0_0175.NEF
File size : 11487590 Bytes
MIME type : image/tiff
Image size : 160 x 120
Camera make : NIKON CORPORATION
Camera model : NIKON D700
Image timestamp : 2009:07:24 23:59:41
Image number :
Exposure time : 2 s
Aperture : F2.8
Exposure bias : +2 EV
Flash : No flash
Flash bias :
Focal length : 25.0 mm (35 mm equivalent: 25.0 mm)
Subject distance:
ISO speed : 3200
Exposure mode : Aperture priority
Metering mode : Multi-segment
Macro mode :
Image quality : RAW
Exif Resolution : 160 x 120
White balance : AUTO
Thumbnail : None
Copyright :
Exif comment :

And this is the 0.17.1 info:
exiv2.exe MP0_0175.NEF
Warning: Directory ImageSubIfd0 has an unhandled next pointer.
Warning: Size 5308 of Exif.Nikon3.0x0091 exceeds 4096 bytes limit. Not decoded.
File name : MP0_0175.NEF
File size : 11487590 Bytes
MIME type : image/tiff
Image size : 4288 x 2844
Camera make : NIKON CORPORATION
Camera model : NIKON D700
Image timestamp : 2009:07:24 23:59:41
Image number :
Exposure time : 2 s
Aperture : F2.8
Exposure bias : +2
Flash : No flash
Flash bias :
Focal length : 25.0 mm (35 mm equivalent: 25.0 mm)
Subject distance:
ISO speed : 3200
Exposure mode : Aperture priority
Metering mode : Multi-segment
Macro mode :
Image quality : RAW
Exif Resolution : 4288 x 2844
White balance : AUTO
Thumbnail : None
Copyright :
Exif comment :

I don't know if the Error message from 0.18.2 has anything to do with it. Also note the two warnings from 0.17.1, those are probably resolved somewhere after 0.17.1.

Kind regards, Martin Paris

Associated revisions

Revision 1873 (diff)
Added by Andreas Huggel over 12 years ago

#641: Use image dimensions of the primary image.

History

#1

Updated by Andreas Huggel over 12 years ago

  • Status changed from New to Resolved
  • Assignee set to Andreas Huggel
  • Target version set to 0.19
  • % Done changed from 0 to 100
#2

Updated by Andreas Huggel almost 12 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF