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 [d/m/Y H:i] (current)
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: d/m/Y H:i (external edit)