diff --git a/README b/README index 76304809..db93c7b3 100644 --- a/README +++ b/README @@ -162,7 +162,7 @@ Commercial version If you have a commercial license, you must disable NLS support, conversion of UCS2 characters in XP tags and the conversion of -Exif.Nikon3.LensData values to lens names to build a commercial +Nikon lens data to readable lens names to build a commercial version of the Exiv2 library. To do this on Windows, compile the library with the preprocessor diff --git a/config/config.h.cmake b/config/config.h.cmake index 00677add..2b1e61ec 100644 --- a/config/config.h.cmake +++ b/config/config.h.cmake @@ -19,7 +19,7 @@ #ifndef EXV_COMMERCIAL_VERSION -/* Define to 1 to enable translation of Exif.Nikon3.LensData. */ +/* Define to 1 to enable translation of Nikon lens names. */ #cmakedefine EXV_HAVE_LENSDATA 1 /* Define to 1 if translation of program messages to the user's diff --git a/config/config.h.in b/config/config.h.in index 9c3d51f2..635f4b31 100644 --- a/config/config.h.in +++ b/config/config.h.in @@ -18,7 +18,7 @@ #ifndef EXV_COMMERCIAL_VERSION -/* Define to 1 to enable translation of Exif.Nikon3.LensData. */ +/* Define to 1 to enable translation of Nikon lens names. */ #undef HAVE_LENSDATA /* Define to 1 if translation of program messages to the user's diff --git a/config/configure.ac b/config/configure.ac index 78744f0f..82495969 100644 --- a/config/configure.ac +++ b/config/configure.ac @@ -121,9 +121,9 @@ if test "$GXX_VISIBILITY" = "yes"; then fi fi -AC_MSG_CHECKING([whether to use the lens database for Exif.Nikon3.LensData]) +AC_MSG_CHECKING([whether to use the lens database for Nikon lens names]) AC_ARG_ENABLE(lensdata, - [ --disable-lensdata do not use the lens database for Exif.Nikon3.LensData ], + [ --disable-lensdata do not use the lens database for Nikon lens names ], USE_LENSDATA=$enableval, USE_LENSDATA=yes) AC_MSG_RESULT($USE_LENSDATA) if test "$USE_LENSDATA" = "yes"; then diff --git a/msvc/include/exv_msvc.h b/msvc/include/exv_msvc.h index 717acb89..82dd4141 100644 --- a/msvc/include/exv_msvc.h +++ b/msvc/include/exv_msvc.h @@ -36,7 +36,7 @@ typedef int pid_t; #ifndef EXV_COMMERCIAL_VERSION -/* Define to 1 to enable translation of Exif.Nikon3.LensData. */ +/* Define to 1 to enable translation of Nikon lens names. */ # define EXV_HAVE_LENSDATA 1 /* Define to 1 if translation of program messages to the user's diff --git a/src/easyaccess.cpp b/src/easyaccess.cpp index fe960d4c..589e099d 100644 --- a/src/easyaccess.cpp +++ b/src/easyaccess.cpp @@ -211,7 +211,9 @@ namespace Exiv2 { { static const char* keys[] = { "Exif.CanonCs.LensType", - "Exif.Nikon3.LensData", + "Exif.NikonLd1.LensIDNumber", + "Exif.NikonLd2.LensIDNumber", + "Exif.NikonLd3.LensIDNumber", "Exif.Minolta.LensID", "Exif.Pentax.LensType" }; diff --git a/src/nikonmn.cpp b/src/nikonmn.cpp index bfedafad..e4078077 100644 --- a/src/nikonmn.cpp +++ b/src/nikonmn.cpp @@ -2,7 +2,7 @@ /* * Copyright (C) 2004-2009 Andreas Huggel * - * Lens database to decode Exif.Nikon3.LensData + * Lens database for the conversion of Nikon lens data to readable lens names * Copyright (C) 2005-2008 Robert Rottmerhusen * * This program is part of the Exiv2 distribution.