<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta content="text/html;charset=UTF-8" http-equiv="Content-Type"></head><body ><div style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10pt;"><div>Ok, I ran and it returned me the EXIF data.<br></div><div><br></div><div>I was using it on my python scripts, but changed to PIL. </div><div style="" class="zmail_extra">I'm a python nobbie. Will search the best way to use it Pyexiftool and test with these NEF files.<br><br>Thank you !<br><br><br><br><div id="Zm-_Id_-Sgn1">---- Ativado Qua, 18 set 2019 09:57:59 -0300 <b>Andrey Goreev <<a target="_blank" href="mailto:aegoreev@gmail.com">aegoreev@gmail.com</a>></b> escreveu ----<br></div><br><blockquote style="border-left: 1px solid rgb(204, 204, 204); padding-left: 6px; margin: 0px 0px 0px 5px;"><meta><div dir="auto"><div dir="auto">Have you tried exiftool? It has a python wrapper if that matters.<br></div><div dir="auto">Try running "exiftool -s -a -G1 FILE" on a random NEF file and see what it spits out.<br></div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><div dir="auto" style="font-size: 85.0%;color: rgb(87,87,87);">Sent from my Samsung Galaxy smartphone.<br></div></div><div><br></div><div dir="auto" style="font-size: 100.0%;color: rgb(0,0,0);"><div>-------- Original message --------<br></div><div>From: Alex Antão <<a target="_blank" href="mailto:alex@familiaturista.com.br">alex@familiaturista.com.br</a>><br></div><div>Date: 2019-09-18 6:54 a.m. (GMT-07:00)<br></div><div>To: digiKam - Home Manage your photographs as a professional with the power of open source <<a target="_blank" href="mailto:digikam-users@kde.org">digikam-users@kde.org</a>><br></div><div>Subject: Re: [digiKam-users] --> EXIF information on NEF and PNG<br></div><div><br></div></div><div style="font-family: Verdana, Arial, Helvetica, sans-serif;font-size: 10.0pt;"><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 class="x_-1171916902zmail_extra"><div><br></div><div>---- Ativado Qua, 18 set 2019 04:17:08 -0300 <b>Nicolas Boulesteix <<a target="_blank" href="mailto:nico.boulesteix@gmail.com">nico.boulesteix@gmail.com</a>></b> escreveu ----<br></div><div><br></div><blockquote style="border-left: 1.0px solid rgb(204,204,204);padding-left: 6.0px;margin: 0.0px 0.0px 0.0px 5.0px;"><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 dir="ltr" class="x_-1337955627gmail_attr">Le mer. 18 sept. 2019 à 07:52, Gilles Caulier <<a href="mailto:caulier.gilles@gmail.com" target="_blank">caulier.gilles@gmail.com</a>> a écrit :<br></div><div><br></div></div></div><blockquote class="x_-1337955627gmail_quote" style="margin: 0 0 0 0.8ex;border-left: 1.0px rgb(204,204,204) solid;padding-left: 1.0ex;"><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 dir="ltr" class="x_-1337955627gmail_attr">Le mer. 18 sept. 2019 à 07:35, Nicolas Boulesteix <<a href="mailto:nico.boulesteix@gmail.com" target="_blank">nico.boulesteix@gmail.com</a>> a écrit :<br></div><blockquote class="x_-1337955627gmail_quote" style="margin: 0.0px 0.0px 0.0px 0.8ex;border-left: 1.0px solid rgb(204,204,204);padding-left: 1.0ex;"><div dir="ltr"><div class="x_-1337955627gmail_default" style="font-size: large;">Hi,<br></div><div class="x_-1337955627gmail_default" style="font-size: large;">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 class="x_-1337955627gmail_default" style="font-size: large;"><br></div><div class="x_-1337955627gmail_default" style="font-size: large;">When you look at the whole metadata, is there some metadata that look like creation date or digitized date ? <br></div><div class="x_-1337955627gmail_default" style="font-size: large;"><br></div></div><div><br></div><div class="x_-1337955627gmail_quote"><div dir="ltr" class="x_-1337955627gmail_attr">Le mar. 17 sept. 2019 à 22:07, Alex Antão <<a href="mailto:alex@familiaturista.com.br" target="_blank">alex@familiaturista.com.br</a>> a écrit :<br></div><blockquote class="x_-1337955627gmail_quote" style="margin: 0.0px 0.0px 0.0px 0.8ex;border-left: 1.0px solid rgb(204,204,204);padding-left: 1.0ex;"><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 dir="ltr" class="x_-1337955627m_-2871781244609597478gmail-m_9134957597784723088gmail_signature">Nicolas Boulesteix - Chasseur de Lueurs - <a href="http://www.photonoxx.fr" target="_blank">http://www.photonoxx.fr</a><br></div></blockquote></div></blockquote></blockquote></div><div><br></div></div><br></div></blockquote></div><div><br></div></div><br></body></html>