<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></head><body dir="auto"><div dir="auto">Have you tried exiftool? It has a python wrapper if that matters.</div><div dir="auto">Try running "exiftool -s -a -G1 FILE" on a random NEF file and see what it spits out.</div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><br></div><div id="composer_signature" dir="auto"><div style="font-size:85%;color:#575757" dir="auto">Sent from my Samsung Galaxy smartphone.</div></div><div><br></div><div style="font-size:100%;color:#000000" dir="auto"><!-- originalMessage --><div>-------- Original message --------</div><div>From: Alex Antão <alex@familiaturista.com.br> </div><div>Date: 2019-09-18  6:54 a.m.  (GMT-07:00) </div><div>To: digiKam - Home Manage your photographs as a professional with the power of open source <digikam-users@kde.org> </div><div>Subject: Re: [digiKam-users] --> EXIF information on NEF and PNG </div><div><br></div></div><div style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10pt;"><div>Sorry, I think I didn't expressed myself properly.<br></div><div><br></div><div>The NEF files do have (at least I hope) EXIF data, but it is not the conventional one, accessed by common libraries.<br></div><div><br></div><div>I'm using python to classify then. Python has some libraries to read EXIF data from JPEG, but these libraries do not read EXIF from NEF.<br></div><div>I tried to install py3exiv2 library on my Mac, but it is bery dificult, and didn't manage yet, and if I want to make a script everybody will be able to use, this is not the best solution.<br></div><div><br></div><div>So, I'm still trying to find a way to open EXIF data from my NEF (taken not edited) with a easier way. <br></div><div><br></div><div>Thanks.<br></div><div><br></div><div style="" class="zmail_extra"><div><br></div><div id="Zm-_Id_-Sgn1">---- Ativado Qua, 18 set 2019 04:17:08 -0300 <b>Nicolas Boulesteix <nico.boulesteix@gmail.com></b> escreveu ----<br></div><div><br></div><blockquote style="border-left: 1px solid rgb(204, 204, 204); padding-left: 6px; margin: 0px 0px 0px 5px;"><div><div dir="auto"><div>Hi,<br></div><div dir="auto"><br></div><div dir="auto">I just ask for captured nx because it can open non raw file and save it as a nef file embedding original file and non destructive modification information in metadata.<br></div><div dir="auto"><br></div><div dir="auto">This way, if original file doesn't have exif info it could result in a nef file without creation date metadata<br></div><div dir="auto"><br></div></div><div><br></div><div class="x_-1337955627gmail_quote"><div class="x_-1337955627gmail_attr" dir="ltr">Le mer. 18 sept. 2019 à 07:52, Gilles Caulier <<a target="_blank" href="mailto:caulier.gilles@gmail.com">caulier.gilles@gmail.com</a>> a écrit :<br></div><div><br></div></div></div><blockquote style="margin: 0 0 0 0.8ex;border-left: 1.0px rgb(204,204,204) solid;padding-left: 1.0ex;" class="x_-1337955627gmail_quote"><div dir="ltr"><div>Hi,<br></div><div><br></div><div>NEF is a RAW container including Exif, Makernotes, and sometimes XMP metadata set by camera. This is true for all RAW files based on TIFF/EP standard, even if RAW format extend the tags list with proprietary values.<br></div><div><br></div><div>In all cases whole Exif are there and mandatory to be post processed with a software as Capture NX. Demosaicing process need to know all shot conditions.<br></div><div><br></div><div>Best<br></div><div><br></div><div>Gilles Caulier <br></div></div><div><br></div><div class="x_-1337955627gmail_quote"><div class="x_-1337955627gmail_attr" dir="ltr">Le mer. 18 sept. 2019 à 07:35, Nicolas Boulesteix <<a target="_blank" href="mailto:nico.boulesteix@gmail.com">nico.boulesteix@gmail.com</a>> a écrit :<br></div><blockquote style="margin: 0.0px 0.0px 0.0px 0.8ex;border-left: 1.0px solid rgb(204,204,204);padding-left: 1.0ex;" class="x_-1337955627gmail_quote"><div dir="ltr"><div style="font-size: large;" class="x_-1337955627gmail_default">Hi,<br></div><div style="font-size: large;" class="x_-1337955627gmail_default">I'm a bit surprised for the nef file which usually have exif data. Does those files come from a camera or are they created by a Nikon software like Capture Nx from another file format ?<br></div><div style="font-size: large;" class="x_-1337955627gmail_default"><br></div><div style="font-size: large;" class="x_-1337955627gmail_default">When you look at the whole metadata, is there some metadata that look like creation date or digitized date ? <br></div><div style="font-size: large;" class="x_-1337955627gmail_default"><br></div></div><div><br></div><div class="x_-1337955627gmail_quote"><div class="x_-1337955627gmail_attr" dir="ltr">Le mar. 17 sept. 2019 à 22:07, Alex Antão <<a target="_blank" href="mailto:alex@familiaturista.com.br">alex@familiaturista.com.br</a>> a écrit :<br></div><blockquote style="margin: 0.0px 0.0px 0.0px 0.8ex;border-left: 1.0px solid rgb(204,204,204);padding-left: 1.0ex;" class="x_-1337955627gmail_quote"><div><u></u><br></div><div><div style="font-family: Verdana, Arial, Helvetica, sans-serif;font-size: 10.0pt;"><div>Hi,<br></div><div><br></div><div>    I've just exported my huge library from Photos.<br></div><div>    No I have 800Gb of photos on my external HD, moved a lot of then on albuns acording to those created in Photos. All OK.<br></div><div><br></div><div>    But... I still have a lot of files on root Folder that were not included in any Album. I want to organize them the fast and easy way possible.<br></div><div><br></div><div>    So, I created a Python script that:<br></div><ul><li>Takes the file's EXIT data<br></li><li>Extract Original Date from it<br></li><li>Create a directory structure like YEAR/MONTH/DAY (I can choose the level I want) and move the files inside that structure based on the EXIF taken before.<br></li></ul><div><br></div><div>     OK, these are working, but I also have a lot of files that are NEF or even PNG (i don't tested yet on MOV, or AVI). Those files does not have EXIF data.<br></div><div>     How can I get Date information from then ? Is it possible ? <br></div><div><br></div><div>Thanks....<br></div><div><br></div></div><div><br></div></div></blockquote></div><div><br></div><div><br></div><div>-- <br></div><div class="x_-1337955627m_-2871781244609597478gmail-m_9134957597784723088gmail_signature" dir="ltr">Nicolas Boulesteix - Chasseur de Lueurs - <a target="_blank" href="http://www.photonoxx.fr">http://www.photonoxx.fr</a><br></div></blockquote></div></blockquote></blockquote></div><div><br></div></div><br></body></html>