Pentax Lens Model Data in Aperture

I have finally figured out how to get Aperture to display Lens Model EXIF data for Pentax cameras.

The problem is that Aperture is looking for that date in one specific field, but Pentax stores it in another. The solution is rather like what we did back when Aperture could not import PEF files. Using exiftool, it's possible to copy the the lens model data from the field Pentax puts it in to the field Aperture expects to find it in.

This is a procedure you can use (a) for importing new pictures and (b) modifying selected pictures in your Aperture library.

Assuming you've installed the exiftool library, here are the steps I have used successfully:

1. Have the pictures you want modified in a folder +in your user folder+. For this example, we'll call the new folder "lenschange." These might have been exported from a project or imported from a camera. I have verified this works on PEF and JPGs.

2. Open the terminal and type the following command exactly except put your actual user folder name in place of "YourUserFolderName":

exiftool '-Lenstype>Lens' /Users/YourUserFolderName/lenschange (hit return)

It will take exiftool a while to do this. It will open each file, move the lens model data, and write a new file, renaming the old one with _original at the end of the filename.

3. Import the new files into Aperture wherever your want them.

You should now see the Lens model data in the "Lens Model" field for the EXIF data.

Clunky, yes; but if you really want that data visible in Aperture, this is (for now) how it has to be done.

Message was edited by: Lawson Stone

MacBookPro 2.2 GHz Intel Core 2 Duo, Mac OS X (10.5.2)

Posted on Nov 6, 2008 4:19 PM

Reply
11 replies

Nov 9, 2008 10:46 PM in response to Lawson Stone

for this to work with Aperture 2.1.2 and exif 7.39 you need to capitalize the 'T':

exiftool '-LensType>Lens' /Users/YourUserFolderName/lenschange (hit return)

and please, send feedback to apple if not being able to read pentax lens data is bugging you. it really should be an easy change. (Aperture->Send Aperture Feedback menu)

good luck! and thanks Lawson, for posting this solution!

Nov 10, 2008 8:09 AM in response to Dale Mcbeath

That's odd because I just pasted the command I always use--with the lowercase "t" which works okay.

This is something you do to the files before importing (or in an export-reimport cycle) them into Aperture. I don't think the EXIF fields are case sensitive, but I could be wrong. In any event, the command works for me as I presented it.

At any event, at least we have a way to get at this very important data in Aperture. We just need Apple to update the Pentax Raw profiles to read the right field.

Jan 24, 2009 3:19 PM in response to Lawson Stone

I just noticed something today as I was mucking about in Aperture. I shoot a Pentax K10D and have been having the same 'problem'- lens model not showing up in the metadata. However, after I change "Raw Fine Tuning" from one version to another (either 1.1 to 2.0 or 2.0 to 1.1, I haven't tried 1.0 in either direction), the Lens Model information shows up correctly for that particular image.

Can anybody else test this procedure and see if it works for them? If it is reproducible, it seems to me that we have an (somewhat) easier fix- for me, a smart search for everything imported after I upgraded to 2.0, change one of the files to 1.1, lift that adjustment, stamp it on all the others, then switch it back to 2.0, then lift and stamp again. Then, do the same thing with my 1.1 images.

I still hope Apple fixes this, though. We still shouldn't have to work around this bug in any manner.

Jan 24, 2009 9:31 PM in response to clawhammer

clawhammer, OMG that is VERY strange. Given what I have read like using exiftool in terminal and sRGB vs adobe profile that this works is odd. Obviously the theory that Aperture is looking for the lens info in the wrong place is not totally true.

Here's what I did with one Pentax. pef image. In the adjustment HUD in the 'RAW Fine Tuning" brick (Aperture 2.1.2) I switched from 2.0 to 1.1 then back. For a very quick moment I saw the lens info appear in the metadata for Lens. But it went right back to blank. BTW the 1.1 image was awful (green!). So I tried the same thing with 2.0 to 1.0 and back. This time it stuck and I can see the lens info "smc PENTAX-DA 50-200mm F4-5.6 ED".

To me this is very weird. Obviously it is there somewhere AND accessible to Aperture but either Apple or Pentax is screwing up. Now this is only one image but now I'm thinking can I use Automator or AppleScript to run through my whole library to make the correction (man this would take a lot of time). And then how could I automate this on download.

I'd be forever grateful if either Apple corrected what now seems like a very simple problem or some script guru solved the library conversion and the download issue with a one step process. Clearly the info is still there so HEY APPLE FIX THIS!

Jan 27, 2009 10:55 AM in response to Bruce Michel

Bruce,

Thanks for the alternate solution! It works for me as well. A LOT easier than changing the RAW conversion version and back. It can be done in one step to a bunch of images.

So this seals it for me. The data is easily accessible to Aperture so now Apple needs to fix this in an update. It's more than annoying that it doesn't show up when the images are imported. Grrr! Sadly I suspect that if this were a Nikon or Canon issue it would have been fixed to quiet the howl from all those shooters.

Cheers... John

Mar 21, 2009 12:14 PM in response to WRBowden

Still the case. I find that:
1. PEFs now show lens data
2. DNGs do not show it, though it is in the EXIF tags
3. JPEGs that have lensdata in their EXIF data (i.e. from camera) don't show it in Aperture
4. Exported versions lose lens data

I do not know why Apple simply refuses to give us complete access to EXIF data like Graphic Converter does. I also think editing EXIF data would be valuable.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Pentax Lens Model Data in Aperture

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.