Thank you for this patch.

It will be fixed in ExifTool version 6.54 (or greater).

        - Phil


On 3-Nov-06, at 6:06 AM, Y Giridhar Appaji Nag wrote:

Package: libimage-exiftool-perl
Version: 6.42-1
Severity: normal
Tags: patch

If the WhiteBalanceFineTune value provided to be changed in a Nikon RAW
(NEF) format file, exiftool doesn't do anything and reports an error.

$ exiftool -WhiteBalanceBias=-1 20061007_120944_SUNNY.nef
Value below int16u minimum for Nikon:WhiteBalanceFineTune
Nothing to do.
$

The WhiteBalanceFineTune tag is actually signed (See Nikon D70s manual
page 50 [Section: Fine-Tuning White Balance]) and has a range of -3 to
3.  I have shot images with a negative fine tuned value for white
balance and examined the NEF file tag WhiteBalanceFineTune (Also note
that the type of WhiteBalanceFineTune would be the same as that of tag
HueAdjustment i.e. tag with hex code 0x0092.

The fix is to change tag with hex code 0x000b (WhiteBalanceFineTune)
from int16u to int16s.

--- Nikon.pm.orig       2006-11-03 16:15:41.911009000 +0530
+++ Nikon.pm    2006-11-03 16:21:40.280055000 +0530
@@ -288,7 +288,7 @@
         Writable => 'string',
         Count => 13,
     },
- 0x000b => { Name => 'WhiteBalanceFineTune', Writable => 'int16u' }, #2 + 0x000b => { Name => 'WhiteBalanceFineTune', Writable => 'int16s' }, #2
     0x000c => {
         Name => 'ColorBalance1',
         Writable => 'rational64u',

Giridhar

--
Y Giridhar Appaji Nag | http://www.appaji.net/

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
APT policy: (900, 'testing'), (800, 'unstable'), (700, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-686
Locale: LANG=en_IN, LC_CTYPE=en_IN (charmap=UTF-8)

Versions of packages libimage-exiftool-perl depends on:
ii perl 5.8.8-6.1 Larry Wall's Practical Extraction

libimage-exiftool-perl recommends no packages.

-- no debconf information




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to