Forgot Password
Pentax Camera Forums Home
 

Reply
Show Printable Version Search this Thread
03-11-2019, 03:01 PM   #1
Site Supporter
Site Supporter
grey goat's Avatar

Join Date: Dec 2009
Location: Spring Green, WI
Photos: Gallery | Albums
Posts: 414
Mac OS: app or plugin for editing EXIF?

Hey, all.

I just shot my first session with my "new" A 100/2.8 macro last Friday. Sweet lens. But I apparently missed a step when I switched from my K 35/2.0 to the A 100 macro, and all the macro images were logged as having been shot with the 35/2. (Not that this is the first time I've missed the step of identifying the correct focal length of one of my many old-school lenses. I don't do it very often at all, but it's annoying when it happens.)

The worst thing about that, of course, is that my K3ii's shake reduction didn't work quite as well as it could have, though the images themselves look fine.

But the fact that those images are now attributed in LR Classic to a lens with a focal length of 35mm is annoying--even if the photos themselves would stay the same even with an edited focal length. LR, of course, permits date and time changes, but nothing else. And the only other thread I found on this issue is about 7 years old and deals with an app for PCs, not Macs.

So . . . do any of you folks use an app or plugin to edit EXIF? I'm talking Mac-compatible software, preferably 64-bit since Mojave's about to get restrictive about such things. And the adjustment fields have to include things other than date and time--especially focal length.

I've looked at a few options online and on Apple's App Store, but it's hard to tell which one would work the best (though some clearly seem to be not so good).

Thanks in advance for any advice.

--Nath

03-11-2019, 03:11 PM   #2
PDL
Pentaxian




Join Date: Oct 2006
Location: Woodinville, WA USA
Photos: Gallery
Posts: 1,521
The Exif editing goto application I use is ExifTool. I am not sure if there is a GUI app available for Apple products, but you can use the Terminal to modify the Exif on almost any image file type.
Check out: ExifTool by Phil Harvey
Buried somewhere in there just might be a GUI version for Apple. (ExifTool GUI for Windows devices is no longer officially supported and the mapping/geotagging support was broken by Google)
03-11-2019, 03:35 PM   #3
Pentaxian
Paul the Sunman's Avatar

Join Date: Aug 2011
Location: Melbourne
Photos: Gallery
Posts: 2,011
I too recommend exiftool. However, I believe you can do this in LR as well.

Metadata basics and actions in Lightroom Classic CC
03-11-2019, 03:36 PM   #4
Forum Member




Join Date: Oct 2018
Posts: 99
Even with Exiftool command line tool working on Mac (which is possible) it will be tricky to correct the EXIF data.

Pentax Tags


This lists three (3) relevant EXIF tags that store the focal length. "0x001dFocalLength", "SRFocalLength" for Shake Reduction, and "LensFocalLength", an extra record that keeps all Lens information.


Note that the first tag requires a 32 bit integer and the other two only a 8 bit integer, usually meaning "35mm" is differently encoded.


It helps to create a DNG file with the correct expected values using the camera, than compare the three EXIF tags and copy the values over.


If this is not changed correctly in all 3 places, it's very likely that applications reading the EXIF tags will misbehave.


Do make copies of any DNG files, before changing.

03-11-2019, 03:39 PM - 1 Like   #5
Site Supporter
Site Supporter
boriscleto's Avatar

Join Date: Dec 2009
Location: North Syracuse, NY
Photos: Gallery
Posts: 14,094
LensTagger Exiftool Lightroom Plugin

My Sigma 10-20/3.5 identifies as a 70-200/2.8 in Lightroom. This lets me change it...I should have had the ROM flashed before Sigma stopped doing it for K-mount lenses. There is no need to make copies of the DNG files as this tool doesn't change them, it works on a sidecar file.

Correction, for PEF files it would work on a sidecar, but for DNG XMP is written to the original...

Name:  Screen Shot 2019-03-11 at 7.21.52 PM.png
Views: 103
Size:  83.0 KB

Last edited by boriscleto; 03-11-2019 at 04:23 PM.
03-11-2019, 05:17 PM   #6
Loyal Site Supporter
Loyal Site Supporter
baro-nite's Avatar

Join Date: Aug 2011
Location: North Carolina, USA
Photos: Gallery | Albums
Posts: 4,698
Good old GraphicConverter has ExifTool built in and allows editing. Not the greatest interface for editing EXIF, but maybe easier than straight ExifTool, depending on your familiarity with the command line.
03-11-2019, 07:19 PM   #7
Loyal Site Supporter
Loyal Site Supporter
SharkyCA's Avatar

Join Date: Sep 2017
Location: Carleton Place, Ontario, Canada
Photos: Gallery
Posts: 247
QuoteOriginally posted by PDL Quote
The Exif editing goto application I use is ExifTool. I am not sure if there is a GUI app available for Apple products, but you can use the Terminal to modify the Exif on almost any image file type.
Check out: ExifTool by Phil Harvey
Buried somewhere in there just might be a GUI version for Apple. (ExifTool GUI for Windows devices is no longer officially supported and the mapping/geotagging support was broken by Google)

Mac link, not sure how good it is??

ExifTool 11.31 free download for Mac | MacUpdate
03-11-2019, 08:43 PM   #8
Site Supporter
Site Supporter
grey goat's Avatar

Join Date: Dec 2009
Location: Spring Green, WI
Photos: Gallery | Albums
Posts: 414
Original Poster
QuoteOriginally posted by PDL Quote
The Exif editing goto application I use is ExifTool. I am not sure if there is a GUI app available for Apple products, but you can use the Terminal to modify the Exif on almost any image file type.
Check out: ExifTool by Phil Harvey
Buried somewhere in there just might be a GUI version for Apple. (ExifTool GUI for Windows devices is no longer officially supported and the mapping/geotagging support was broken by Google)
Thanks, PDL. I'd actually read about ExifTool, but I couldn't tell how new it was or if it'd work with Macs. But it's good to know it works, and I may just have to give it a try!

---------- Post added 03-11-2019 at 10:46 PM ----------

QuoteOriginally posted by Paul the Sunman Quote
I too recommend exiftool. However, I believe you can do this in LR as well.

Metadata basics and actions in Lightroom Classic CC
Thanks, Paul.

I looked in the LR Classic help files, and I think I read the metadata section you mention. But I'll re-read it because . . . well, it wouldn't be the first time I'd overlooked something!

But another thumbs up for exiftool is good to see!

nath

---------- Post added 03-11-2019 at 10:48 PM ----------

QuoteOriginally posted by K1N8 Quote
Even with Exiftool command line tool working on Mac (which is possible) it will be tricky to correct the EXIF data.

Pentax Tags


This lists three (3) relevant EXIF tags that store the focal length. "0x001dFocalLength", "SRFocalLength" for Shake Reduction, and "LensFocalLength", an extra record that keeps all Lens information.


Note that the first tag requires a 32 bit integer and the other two only a 8 bit integer, usually meaning "35mm" is differently encoded.


It helps to create a DNG file with the correct expected values using the camera, than compare the three EXIF tags and copy the values over.


If this is not changed correctly in all 3 places, it's very likely that applications reading the EXIF tags will misbehave.


Do make copies of any DNG files, before changing.
Copies, yes. Sage advice, always.

Interesting to note there are three instances of FL to tend too. Thanks for pointing that out!

nath

---------- Post added 03-11-2019 at 10:50 PM ----------

QuoteOriginally posted by baro-nite Quote
Good old GraphicConverter has ExifTool built in and allows editing. Not the greatest interface for editing EXIF, but maybe easier than straight ExifTool, depending on your familiarity with the command line.
Thanks, baro-nite.

I used GraphicConverter years and years ago, and it's good to know it has ExifTool built in these days. I really should look into that app again. . . .

nath

---------- Post added 03-11-2019 at 10:52 PM ----------

QuoteOriginally posted by SharkyCA Quote
Mac link, not sure how good it is??

ExifTool 11.31 free download for Mac | MacUpdate
Thanks, SharkyCA! I'll definitely give that a look. And . . . 11.31 . . . ExifTool has been around for a long time, it seems!

nath

---------- Post added 03-11-2019 at 10:56 PM ----------

Lots of votes for ExifTool. Thanks, folks.

I also saw a lot of apps on the Apple App Store, but sometimes it's hard to tell what's good, not so good, and just not good at all.

Right now I simply made a keyword tag for the A 100/2.8 macro, but delving into the Exif would be a better solution.

I'll try to remember to post what I try and how it worked, which right now might be ExifTool and LensTagger. . . .

Thanks again,
nath

03-11-2019, 09:01 PM   #9
PDL
Pentaxian




Join Date: Oct 2006
Location: Woodinville, WA USA
Photos: Gallery
Posts: 1,521
QuoteOriginally posted by SharkyCA Quote
Mac link, not sure how good it is??

ExifTool 11.31 free download for Mac | MacUpdate
The ExifTool link is to the authors web site. Personally I do not see a need for going to "repackagers" when you can get it from the source.
v11.31 is the latest, I missed v11.30.

@Grey goat
ExifTool is periodically updated, you just need to check every once in a while. I tend to look at it weekly as I am adding/modifying data all of the time (I am kind of OCD about that - says my better half). As for OS compatibility it runs on Linux, OSX and Windows - pretty much on nearly everything - although I have not tried to see if it runs on my Android phone. yet

---------- Post added 03-11-19 at 09:20 PM ----------

QuoteOriginally posted by K1N8 Quote
Even with Exiftool command line tool working on Mac (which is possible) it will be tricky to correct the EXIF data.

Pentax Tags


This lists three (3) relevant EXIF tags that store the focal length. "0x001dFocalLength", "SRFocalLength" for Shake Reduction, and "LensFocalLength", an extra record that keeps all Lens information.


Note that the first tag requires a 32 bit integer and the other two only a 8 bit integer, usually meaning "35mm" is differently encoded.


It helps to create a DNG file with the correct expected values using the camera, than compare the three EXIF tags and copy the values over.


If this is not changed correctly in all 3 places, it's very likely that applications reading the EXIF tags will misbehave.


Do make copies of any DNG files, before changing.
Since I am on Windows I use the ExifTool GUI program (with modifications since the Open Source provider is no longer updating the program and Google changed its Map interface - effectively breaking the geotag function). There is a menu item that pulls the lens information out of the PEF/DNG files for lens model as the -composite:LensID tag which it places into the -exif:LensModel tag.
Here is a ExifTool command/terminal line to do what I do using ExifTool GUI.

exiftool -overwrite_original "-exif:LensModel < ${Composite:LensID}" .

I suggest that you experiment on copies to make sure you are getting it to work correctly as syntax varies between Linux/OSX and Windows when using double quotes and all.

For my manual lenses, Bower 8mm, Rokinon 85mm and Vivitar 300mm, I have to go through some gyrations to get that information into the files. I have found that if I do not get the -exif:LensModel set outside of LR (v6.14), no matter what I do to the RAW file LR will go with what it thinks the lens is. This does not go down all that well with me since LR sees my Tokina 28-70mm as a Pentax 28-70mm. I do like to see what lenses I am using the most often (that OCD thing again). This last reason is the one that finally drove me from LR and anything Adobe.

Can you modify f/stop - yes, but for Windows users it is part of ExifTool GUI. A command string is not something I have done as the only lens that I have that does not provide f/stop is my 300mm a full manual lens from the late 70's (read before A lenses).

---------- Post added 03-11-19 at 09:34 PM ----------

QuoteOriginally posted by boriscleto Quote
LensTagger Exiftool Lightroom Plugin

My Sigma 10-20/3.5 identifies as a 70-200/2.8 in Lightroom. This lets me change it...I should have had the ROM flashed before Sigma stopped doing it for K-mount lenses. There is no need to make copies of the DNG files as this tool doesn't change them, it works on a sidecar file.

Correction, for PEF files it would work on a sidecar, but for DNG XMP is written to the original...

Attachment 443836
Too bad Lenstagger is not a standalone product - It would be nice to have without the Adobe association.

Last edited by PDL; 03-11-2019 at 09:30 PM.
03-12-2019, 04:14 AM   #10
Forum Member




Join Date: Oct 2018
Posts: 99
QuoteOriginally posted by PDL Quote
exiftool -overwrite_original "-exif:LensModel < ${Composite:LensID}" .
This will change the Lens ID, not the focal length. Lens ID in this case should remain "A Lens" or "K or M Lens"
03-12-2019, 06:27 PM   #11
PDL
Pentaxian




Join Date: Oct 2006
Location: Woodinville, WA USA
Photos: Gallery
Posts: 1,521
QuoteOriginally posted by K1N8 Quote
This will change the Lens ID, not the focal length. Lens ID in this case should remain "A Lens" or "K or M Lens"
True, but my manual lenses have the focal length input when setting adding the lenses - not a problem. Except when I messed up and did not put in the correct number, or the camera body did not record the focal length. In the case where the focal length was not recorded I changed it in ExifTool GUI easy to do to cover up my mistake. Since it is not a attribute I would have to write a script for, I have not "gone there" but it is possible. To see what available fields there are and what they are associated with type in:
ExifTool -G <image.name>
and pick your field. Pretty simple (please note, on a Mac or Linux you will have to be particular about the case used in ExifTool - Windows is case insensitive).

And why not substitute the real name of the lens for "A Lens" or "K or M Lens"? It sure makes it easier to understand the information.

As a side note: I/we have to copy the Lens Name information out of the composite fields into the Lens Name field when using Capture One, since CO does not automatically detect the lens name/type in the files metadata. This is the reason I found ExifTool and ExifTool GUI. I would really like to know what Pentax (this has occurred long before the Ricoh buyout) did to have Phase One ignore Pentax metadata.

PS I have been asking Phase One for 5 years when are they going to support Pentax metadata and I get the same answer "We will send it off to the engineers for evaluation". Pentax really hacked off Phase One about something.
Reply

Bookmarks
  • Submit Thread to Facebook Facebook
  • Submit Thread to Twitter Twitter
  • Submit Thread to Digg Digg
Tags - Make this thread easier to find by adding keywords to it!
app, apple, course, date, dng, exif, exif data, exiftool, gui, images, information, length, lens, lenses, lr, mac, macro, metadata, note, photography, photoshop, plugin, pm, shot, step, tags, thanks
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need advice on iPhone camera app with manual settings and panorama stitching app. Emacs Non-Pentax Cameras: Canon, Nikon, etc. 2 10-18-2018 12:49 PM
Can I use PhotoSync app as an alternative to Image Sync WIFI app? Astroaurora Troubleshooting and Beginner Help 2 12-24-2015 01:25 PM
EXIF Software for Mac OS X Lion? Biro Digital Processing, Software, and Printing 7 03-17-2012 10:32 PM
Release: vBulletin Album EXIF information plugin for member album photos Adam General Talk 2 11-10-2011 06:00 PM
EXIF Viewer plugin (firefox) gawan Photographic Technique 9 03-06-2008 02:05 PM



All times are GMT -7. The time now is 05:49 AM. | See also: NikonForums.com, CanonForums.com part of our network of photo forums!
  • Red (Default)
  • Green
  • Gray
  • Dark
  • Dark Yellow
  • Dark Blue
  • Old Red
  • Old Green
  • Old Gray
  • Dial-Up Style
Hello! It's great to see you back on the forum! Have you considered joining the community?
register
Creating a FREE ACCOUNT takes under a minute, removes ads, and lets you post! [Dismiss]
Top