Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #106281
| From | Vincent Vande Vyvre <vincent.vande.vyvre@telenet.be> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Re: Grab metadata from images and save to file, batch mode |
| Date | 2016-04-02 11:14 +0200 |
| Message-ID | <mailman.360.1459588500.28225.python-list@python.org> (permalink) |
| References | <75200b1c-eb54-4e03-a859-6c9631b9073a@googlegroups.com> |
Le 01/04/2016 23:20, accessnewbie@gmail.com a écrit : > I have a directory (and sub-directories) full of images that I want to cycle through and grab certain metadata values and save those values to a single row in a cvs file. I would like to tack on the full path name to the row as a separate value. > > Folder > C:\Images\Family > Brother.jpg > Sister.jpg > Mom.jpg > > Keys/Values > Original Date/Time > User Name > File Name > > Thus, data might look like this in a Family.csv file > 2014:11:10 13:52:12; BillyBob111; Brother.jpg; C:\Images\Family\Brother.jpg > 2015:10:54 11:45:34; BillyBob111; Sister.jpg; C:\Images\Family\Sister.jpg > 2010:10:31 19:22:11; SallySue232; Mom.jpg; C:\Images\Family\Mom.jpg > > Big time noob. Much of what I have read cites command line examples dealing with single files and no info as to how to extract specific keys and their values. > What module would some of you users recommend I use (I want it to be python as that is what I am trying to learn) > > Can you give me some coding suggestions to get me goings? I haven't found any substantive scripts to use as guides. > > Many thanks in advance Have a look at py3exiv2: http://python3-exiv2.readthedocs.org/en/latest/ Vincent
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
Grab metadata from images and save to file, batch mode accessnewbie@gmail.com - 2016-04-01 14:20 -0700 Re: Grab metadata from images and save to file, batch mode Vincent Vande Vyvre <vincent.vande.vyvre@telenet.be> - 2016-04-02 11:14 +0200
csiph-web