On Fri, Jun 15, 2018 at 12:44 AM, Аl Воgnеr <darktable...@corr.eu.org> wrote: > Am Thu, 14 Jun 2018 23:59:01 +0300 > schrieb Roman Lebedev <lebedev...@gmail.com>: > >> > Maybe someone can give a hint, how the metadata have to be changed, >> > so dt can recognize the lens? I asked this a few times ago, but >> > never got an answer. > >> Last thing i heard was that exiv2 simply threw their hands up into >> the air, and told everyone to not bother them with that problem. >> And implemented config file that every single user has to fill by >> himself.. >> >> > It didn't help to change the metadata from nothing or Sigma only to >> > >> > >> > [EXIF] 0xfdea Lens : Sigma 24mm >> > F1.8 EX DG ASP Macro >> > >> > [XMP] - Lens : Sigma 24mm >> > F1.8 EX DG ASP Macro >> > >> > [XMP] - Lens Model : Sigma 24mm >> > F1.8 EX DG ASP Macro > > I use Ubuntu 18.04 with exiv2 0.25-3.1pmjdebruijn1~bionic, but an own > compiled 0.26 is installed too, which is ignored by dt. > > AFAIK the 0.25 version doesn't support local configuration files, this > needs 0.26. I have compiled 0.26 myself, but dt uses the 0.25 version. Probably different .so version, so you'd need to build dt by yourself, too.
> Finally I do not see a solution, even if local exiv2-files are > supported. You need to change the metadata of the photo in a way that > dt recognizes it. A local file could be a solution if exiv2 reports a > hex value as I have seen with another lens. > > After doing some metadata changes with exiftool, I have this now > with exiv2 0.26 001a00 (64 bit build), but note dt uses the older 0.25 > on the same system. Just in case you aren't already aware: that is a *really* *really* bad idea. Do keep backups. Modifying metadata with exiv2/exiftool *will* corrupt raws. > Exif.Image.LensInfo Rational 4 24/1 24/1 > 9/5 9/5 > > Exif.PentaxDng.LensType Byte 4 Sigma Lens > > Exif.PentaxDng.LensInfo Undefined 128 0 131 128 0 > 0 0 0 190 0 0 1 0 0 0 0 0 24 148 5 205 129 4 241 65 152 56 105 72 1 26 > 107 3 255 255 255 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 > 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 > 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 > > Xmp.aux.Lens XmpText 31 Sigma 24mm > F1.8 EX DG ASP Macro > > Xmp.exifEX.LensModel XmpText 31 Sigma 24mm > F1.8 EX DG ASP Macro > > > or > > > Note: this lens doesn't support macro, there is a version with macro > too! > > > Exif.Image.LensInfo Rational 4 28/1 28/1 > 9/5 9/5 > > Exif.PentaxDng.LensType Byte 4 Sigma Lens > > Exif.PentaxDng.LensInfo Undefined 128 0 131 128 0 > 0 0 0 220 0 0 3 0 0 0 0 0 24 148 38 66 115 102 242 65 176 56 92 33 1 27 > 107 3 255 255 255 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 > 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 > 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 > > Xmp.aux.Lens XmpText 19 Sigma 28mm > F1.8 ASP > > Xmp.exifEX.LensModel XmpText 19 Sigma 28mm > F1.8 ASP > > > or > > > Exif.Image.LensInfo Rational 4 105/1 105/1 > 14/5 14/5 > > Exif.PentaxDng.LensType Byte 4 Sigma Lens > > Exif.PentaxDng.LensInfo Undefined 128 0 131 128 0 > 0 0 3 72 0 0 1 0 0 0 0 0 24 148 35 188 149 5 112 131 169 106 56 56 1 49 > 150 3 255 255 255 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 > 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 > 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 > > Xmp.aux.Lens XmpText 28 Sigma 105mm > F2.8 EX DG Macro > > Xmp.exifEX.LensModel XmpText 28 Sigma 105mm > F2.8 EX DG Macro > > > So maybe someone can give me a hint what to try, so dt recognizes the > lens. > > Exif.PentaxDng.LensInfo is different with these 3 lenses: > Undefined 128 0 131 128 0 0 0 0 190 > Undefined 128 0 131 128 0 0 0 0 220 > Undefined 128 0 131 128 0 0 0 3 72 > > > Al ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Lensfun-users mailing list Lensfun-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lensfun-users