Subversion Repositories wimsdev

Rev

Rev 562 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 562 Rev 563
Line 11... Line 11...
11
echo !set photos=$p >photindex
11
echo !set photos=$p >photindex
12
echo !set levels=!words2items $levels >>photindex
12
echo !set levels=!words2items $levels >>photindex
13
 
13
 
14
for name in $pics
14
for name in $pics
15
do
15
do
-
 
16
if [ "$name" = "small" ]; then continue; fi
16
if [ ! -d pieces/$name ] || [ pieces/$name -ot photos/$name.gif ]; then
17
if [ ! -d pieces/$name ] || [ pieces/$name -ot photos/$name.gif ]; then
17
photo=../photos/$name.gif
18
photo=../photos/$name.gif
18
#siz=`(identify -verbose '%x:%y' $photo | grep -i 'geometry:' \
19
#siz=`(identify -verbose '%x:%y' $photo | grep -i 'geometry:' \
19
#     | grep -iv page | awk '{print $2}') 2>/dev/null`
20
#     | grep -iv page | awk '{print $2}') 2>/dev/null`
20
siz=`identify -format '%wx%h' $photo`
21
siz=`identify -format '%wx%h' $photo`