Fixed issue #77, limit geometry info to first image frame
This commit is contained in:
parent
aa6ccf42b8
commit
bcbe3b1475
2
Makefile
2
Makefile
|
@ -1,4 +1,4 @@
|
||||||
VERSION = git-20130127
|
VERSION = git-20130129
|
||||||
|
|
||||||
PREFIX = /usr/local
|
PREFIX = /usr/local
|
||||||
MANPREFIX = $(PREFIX)/share/man
|
MANPREFIX = $(PREFIX)/share/man
|
||||||
|
|
|
@ -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%,}
|
||||||
|
|
Loading…
Reference in New Issue