Fixed issue #77, limit geometry info to first image frame

This commit is contained in:
Bert Münnich 2013-01-29 18:45:10 +01:00
parent aa6ccf42b8
commit bcbe3b1475
2 changed files with 2 additions and 2 deletions

View file

@ -1,4 +1,4 @@
VERSION = git-20130127 VERSION = git-20130129
PREFIX = /usr/local PREFIX = /usr/local
MANPREFIX = $(PREFIX)/share/man MANPREFIX = $(PREFIX)/share/man

View file

@ -8,7 +8,7 @@
filename=$(basename "$1") filename=$(basename "$1")
filesize=$(du -h "$1" | cut -f 1) filesize=$(du -h "$1" | cut -f 1)
geometry=$(identify -format '%wx%h' "$1") geometry=$(identify -format '%wx%h' "$1[0]")
tags=$(exiv2 -q pr -pi "$1" | awk '$1~"Keywords" { printf("%s,", $4); }') tags=$(exiv2 -q pr -pi "$1" | awk '$1~"Keywords" { printf("%s,", $4); }')
tags=${tags:+|}${tags%,} tags=${tags:+|}${tags%,}