Updated references to Nikon lens data tag.

v0.27.3
Andreas Huggel 16 years ago
parent bb71f49bdc
commit d41e19a20c

@ -162,7 +162,7 @@ Commercial version
If you have a commercial license, you must disable NLS support, If you have a commercial license, you must disable NLS support,
conversion of UCS2 characters in XP tags and the conversion of 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. version of the Exiv2 library.
To do this on Windows, compile the library with the preprocessor To do this on Windows, compile the library with the preprocessor

@ -19,7 +19,7 @@
#ifndef EXV_COMMERCIAL_VERSION #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 #cmakedefine EXV_HAVE_LENSDATA 1
/* Define to 1 if translation of program messages to the user's /* Define to 1 if translation of program messages to the user's

@ -18,7 +18,7 @@
#ifndef EXV_COMMERCIAL_VERSION #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 #undef HAVE_LENSDATA
/* Define to 1 if translation of program messages to the user's /* Define to 1 if translation of program messages to the user's

@ -121,9 +121,9 @@ if test "$GXX_VISIBILITY" = "yes"; then
fi fi
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, 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) USE_LENSDATA=$enableval, USE_LENSDATA=yes)
AC_MSG_RESULT($USE_LENSDATA) AC_MSG_RESULT($USE_LENSDATA)
if test "$USE_LENSDATA" = "yes"; then if test "$USE_LENSDATA" = "yes"; then

@ -36,7 +36,7 @@ typedef int pid_t;
#ifndef EXV_COMMERCIAL_VERSION #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 EXV_HAVE_LENSDATA 1
/* Define to 1 if translation of program messages to the user's /* Define to 1 if translation of program messages to the user's

@ -211,7 +211,9 @@ namespace Exiv2 {
{ {
static const char* keys[] = { static const char* keys[] = {
"Exif.CanonCs.LensType", "Exif.CanonCs.LensType",
"Exif.Nikon3.LensData", "Exif.NikonLd1.LensIDNumber",
"Exif.NikonLd2.LensIDNumber",
"Exif.NikonLd3.LensIDNumber",
"Exif.Minolta.LensID", "Exif.Minolta.LensID",
"Exif.Pentax.LensType" "Exif.Pentax.LensType"
}; };

@ -2,7 +2,7 @@
/* /*
* Copyright (C) 2004-2009 Andreas Huggel <ahuggel@gmx.net> * Copyright (C) 2004-2009 Andreas Huggel <ahuggel@gmx.net>
* *
* 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 <lens_id@rottmerhusen.com> * Copyright (C) 2005-2008 Robert Rottmerhusen <lens_id@rottmerhusen.com>
* *
* This program is part of the Exiv2 distribution. * This program is part of the Exiv2 distribution.

Loading…
Cancel
Save