User Tools

Site Tools


howtos:imagedescription

You need to install the following:

sudo apt-get install libimage-exiftool-perl

Create a bashscript:

#!/bin/bash
IMAGEDESCRIPTION=""
IMAGEDESCRIPTION=`zenity --width=500 --height=50 --title "Image Description" --text "Input text" --entry `

if [ -z $IMAGEDESCRIPTION ]; then 
        exit 0
   else
        FILES=`zenity --file-selection --multiple --separator=" "`
fi

exiftool -imagedescription=$IMAGEDESCRIPTION $FILES

This script will ask for a text string which then will be added to the selected files under the tag “Image Description”.

howtos/imagedescription.txt · Last modified: 02/12/2018 21:34 by 127.0.0.1