MFlenses — новая жизнь в цифровую эпоху
MFLenses 2026

Форум объективов с ручной фокусировкой

Исследуйте мир старых объективов через заметки о ремонте, реальные тестовые снимки и подробные архивные темы с множеством изображений.

Исследуйте мир старых объективов через заметки о ремонте, реальные тестовые снимки и подробные архивные темы с множеством изображений.
В центре внимания

Место для партнёра на главной странице форума.

An Applescript for quickly setting (some) EXIF data
Предыдущая тема :: Следующая тема  


Reply

Not sure whether this is the right forum, in case some mod will move the post.

I wrote an Applescript app (so, Mac only) that makes it very easy to customize lens name (Lens field), focal length (FocalLength field) and aperture (F-Number field) in EXIF metadata of one or more pictures. The main aim is making life easier for photographersusing old manual focus lenses on their digital cameras (e.g., me Smile ) .

The script is based on the great EXIFtool program by Phil Harvey: download and install it before using the script.

The way I've chosen to set data is very simple: you have to modify the name of the app with the data you want to put on your files (e.g., call it "Sonnar 135/3.5;135;5.6"). Then you drop picture files on it, and metadata are changed according to app name. If you have many lenses, you just duplicate the app, and set each name as you wish.

Some more info, plus download, here: http://www.dellamea.it/docs/QuickEXIF.php


Reply

Many thanks!!


Reply

Attila писал(а):
Many thanks!!


You're welcome. I do not know how many mac users there are among MFers, anyway what the script do is simply encapsulating a line command of exiftool that can be used on any other system:

Код:
exiftool -Lens='lensname' -FocalLength='XXX' -FNumber='Y.Y' filename


Reply

We have quiet a lot Mac users in USA , you work is very useful.


Reply

Another Mac user reporting (from Finland), thankful for this post Cool


Reply

Does this also work for RAW files, or JPEG only?
I just wonder why Aperture won't let you change this metadata.
Anyone knows if it is possible in Lightroom?

If I find some time, I would like to develop a Graphical User Interface in Cocoa (Mac) for this kind of stuff.
EXIFTool is great. It probably supports changing metadata in RAW files, so the difficult issues are solved.


Reply

nkanellopoulos писал(а):
Does this also work for RAW files, or JPEG only?


RAW too (at least for RAW formats supported by EXIFtool).
Canon DPP still shows the objective set by adapter, I suppose because identified in some other EXIF field. However, FNumber and ApertureValue are set, as well as lens (you may check in Preview).


Reply

I did that for 2 years with a windows perl script, I used drag & drop for batch
it was quite slow for raw files and now I prefer to just change the iptc keyword in bridge, work very fast and enough for my stat


Reply

I did a quick modification to the script, in order to set file creation date equal to the creation date found among EXIF tags.
Download is, as before, here: http://www.dellamea.it/docs/QuickEXIF.php .
I left also version 1.0 for people preferring to have the file date modified by the script.


Reply

I just released an updated version of the script (1.3) because it seemed not to work correctly in OSX Mavericks (and maybe Mountain Lion too).
Some more info, plus download, here: http://www.dellamea.it/docs/QuickEXIF.php