MagicLantern + manual lenses =

Other tools

Exif Comments

Unfortunately this is not true anymore for FB, but having the EXIF comment populated with interesting stuff may still be handy, so i'll keep this here... ;)

When uploading a picture to FB, the comments in EXIF data are used to populate the image description. Unfortunately darktable adds "Developed with darktable.." when converting raw for further processing in GIMP, which may become pretty annoying. So i wrote this simple script, which will either throw the comments away or replace it with relevant data related to the hardware used for capturing the picture (lens name, camera name, exposure details).



function get(){
        exiv2 -g ${1} -Pt -q ${pic}

while getopts "c" opt; do
        case ${opt} in
                c)      CLEAN=1

for pic in *.jpg; do
        echo "=== ${pic} ==="
        if [ ${CLEAN} -eq 0 ]; then
                DESC="$(get Exif.Photo.LensMake) $(get Exif.Photo.LensModel)\n$(get Exif.Canon.ImageType)\nISO$(get Exif.Photo.ISOSpeedRatings), $(get Exif.Photo.FNumber), $(get Exif.Photo.FocalLength), $(get Exif.Photo.ExposureTime)"
        echo -e "${DESC}"
        exiv2 -q -M"set Exif.Image.ImageDescription ${DESC}" \
                -M"set Exif.Photo.UserComment ${DESC}" ${pic}

ml/lens_list.jpg - Lens list

Lens list

ml/lens_detail.jpg - Lens detail

Lens detail

ml/format.jpg - Script settings

Script settings

ml/format2.jpg - Outfile format

Outfile format

ml/recent.jpg - Recent items

Recent items

ml/scripts.jpg - Scripts menu

Scripts menu