01maciel Posted yesterday at 07:52 PM Share #1 Posted yesterday at 07:52 PM Advertisement (gone after registration) Most of my lenses do not have a lens code, so I have to adjust the Exif data accordingly afterwards. I try to do this very carefully so that I know later on under what conditions I took the photo. I post-process the Exif data using a shell script in which I have entered the data for the lens used. One script for each lens. This is not only unattractive, but also very static and somewhat manual. Now I've written myself a little GUI that does the whole thing with just a few clicks. The procedure is kept quite simple: Select the directory with raw files. The raw files are then displayed on the left-hand side. Select files. The Exif data for the last file clicked is displayed at the bottom left. On the right-hand side, simply select the lens you actually used and click on it. The Exif data associated with the lens you actually used is displayed at the bottom right. This data is read from a database and does not need to be entered manually. Then simply click on the “Write Exif” button and the data will be written to the previously selected raw files. Done. Is anything missing? Could more Exif data be written? But what? If you have any ideas, please let me know. Welcome, dear visitor! As registered member you'd see an image here… Simply register for free here – We are always happy to welcome new members! 1 Link to post Share on other sites Simply register for free here – We are always happy to welcome new members! ' data-webShareUrl='https://www.l-camera-forum.com/topic/425314-exif-data-post-processing-for-uncoded-lenses/?do=findComment&comment=5890590'>More sharing options...
Advertisement Posted yesterday at 07:52 PM Posted yesterday at 07:52 PM Hi 01maciel, Take a look here Exif data post-processing for uncoded lenses. I'm sure you'll find what you were looking for!
RoySmith Posted 16 hours ago Share #2 Posted 16 hours ago Well done. Does your shell script make use of ExifTools by Phil Harvey? i don’t use my M9 much anymore, but programs like this are very useful for uncoded lenses. Link to post Share on other sites More sharing options...
KFo Posted 14 hours ago Share #3 Posted 14 hours ago (edited) Wow, this is great!!! I probably do what you used to do using EXIFtool. Here is my typical for a non-coded lens. 35 Summicron 8 element exiftool "-lensinfo=35mm f/2.0" "-lensmodel=Summicron 1:2.0/35 8 Element" "-lensinfo=35mm f/2.0" "-lensserialnumber=23140zz" "-focallength=35.0 mm" "-lensmake=Leitz Wetzlar" "-Make=Leica" "-Model=M3" "-BodySerialNumber=11550zz" You might note my non-standard descriptions in various fields... Edited 13 hours ago by KFo Link to post Share on other sites More sharing options...
01maciel Posted 9 hours ago Author Share #4 Posted 9 hours ago vor 7 Stunden schrieb RoySmith: Does your shell script make use of ExifTools by Phil Harvey? Yes it does. It is the one and only for organising EXIF data. So, the GUI is more of a wrapper with a database connection for the details. Since I implemented it in Python, it also runs on all known OS incl. Windows. vor 4 Stunden schrieb KFo: I probably do what you used to do using EXIFtool. Here is my typical for a non-coded lens. Looks good and pretty much what I used to do. I have shell script using exiftool. E.g. Summaron f=3.5cm #!/bin/sh LModel_New="Leitz Summaron f=3.5cm 1:3.5 LTM" LMake_New="Ernst Leitz GmbH Wetzlar" LInfo_New="3.5cm f/3.5" MaxAp_New="3.5" i=1 ## countDNG=`ls -1 *DNG | wc -l` ## for thefile in *DNG; do echo -en "\015\033[K$i of $countDNG" ## exiftool -q -q -m -LensModel="$LModel_New" $myfile \ -LensMake="$LMake_New" $thefile \ -LensInfo="$LInfo_New" $thefile -MaxApertureValue="$MaxAp_New" $thefile "-FileModifyDate<DateTimeOriginal" "-FileModifyDate<CreateDate" $thefile \ -FLength=35.0mm \ -FocalLength=35.0mm -Lens=35.0mm -minFocalLength=35 -maxFocalLength=35 ((i++)) ## done echo ## echo "Meta data of $i files changed to $LModel_New" ## #rm -f *_original Link to post Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now