User Tools

Site Tools


howtos:imagedescription

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

howtos:imagedescription [25/08/2017 13:57] – created domingohowtos:imagedescription [02/12/2018 21:34] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +You need to install the following:
 +  sudo apt-get install libimage-exiftool-perl
 +
 +Create a bashscript:
 +
 +<file>
 +#!/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
 +</file>
 +
 +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