Simple script to add specific ImageDescription EXIF tag to images, based on data stored in csv file.
It was made to speedup upload process to my flickr account, and was inspired by Minolta Data Memory Card.
pip install git+https://github.com/bohdanbobrowski/mdmc2exif
Run command in directory to create empty data.csv file if such does not exist:
mdmc2exif --create
Once when csv file is created and filled with proper and valid data (might be tricky), run to test:
mdmc2exif --dry-run
...and for save:
mdmc2exif --save
It is already quite obsolete accessory for the first Minolta Dynax cameras. These cameras allowed the use of cards extending their functions, and one of them was "Minolta Data Memory Card" - which allowed to record:
- shutter speed,
- aperture value,
- exposure compensation,
- lens focal length (for zoom lenses - actual value),
- maximum aperture value (at this focal length).
Card stores those values for maximum 40 pictures (usually, one 35mm film casette can keep 36 pictures). So total capacity of this card was around 1 Kilobyte.
The card itself looks like this:
Based on: https://exiftool.org/TagNames/EXIF.html
Minolta Dynax 7xi
AF ZOOM 35-105mm f3.5-4.5 (22)
Minolta Data Card (1/180s, f22, 0.0, 35mm, program A)
AgfaPhoto APX 400 @ 1600
Foma Fomadon Excel stock for 13min. (20C)
CSV can contain 4 types of data, and it's declared by first column value:
-
"camera" - camera manufacturer, and model type
-
"film" - film manufacturer and type
-
"recipe" - recipe used to develop this film
-
pictures metadata:
[file name], [shutter speed], [aperture value], [exposure compensation], [focal length], [maximum aperture], [lens manufacturer and model], [program]
camera,Minolta Dynax 7xi
film,AgfaPhoto APX 400 @ 1600
recipe,Foma Fomadon Excel stock for 13min. (20C)
36.jpg,1500,4,0.0,210,4,Minolta AF ZOOM 70-210mm f4 (32),P
- image title and tags which will be compatible with flickr uploader