Mercurial > laserkard
comparison laserkard_source_images/all/convert.pl @ 1:388bd7feec61 laserkard
[svn r2] added source images
author | rlm |
---|---|
date | Wed, 30 Dec 2009 02:10:57 -0500 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
0:599d0315537d | 1:388bd7feec61 |
---|---|
1 @rr = glob('*.jpg'); | |
2 | |
3 $" = "\n"; | |
4 | |
5 print "@rr\n"; | |
6 | |
7 #@rr = @rr[0]; | |
8 for $t(@rr) | |
9 { | |
10 | |
11 $t =~ m/(.*)\.jpg/; | |
12 $name = $1; | |
13 | |
14 | |
15 print "convert", " $name.jpg -resize 630x360 ../display/$name.jpg\n"; | |
16 `convert $name.jpg -resize 630x360 ../display/$name.jpg`; | |
17 print "convert", " $name.jpg -resize 280x160 ../thumbnails/$name.jpg\n"; | |
18 `convert $name.jpg -resize 280x160 ../thumbnails/$name.jpg` | |
19 | |
20 | |
21 | |
22 | |
23 } |