Mercurial > laserkard
diff laserkard_source_images/convert.pl @ 13:b677f4b6185c laserkard
[svn r14]
author | rlm |
---|---|
date | Fri, 01 Jan 2010 23:21:30 -0500 |
parents | 8c0bb42eef89 |
children | 5c7f16af1dd2 |
line wrap: on
line diff
1.1 --- a/laserkard_source_images/convert.pl Fri Jan 01 23:13:52 2010 -0500 1.2 +++ b/laserkard_source_images/convert.pl Fri Jan 01 23:21:30 2010 -0500 1.3 @@ -8,16 +8,16 @@ 1.4 for $t(@rr) 1.5 { 1.6 1.7 -$t =~ m/(.*)\.jpg/; 1.8 +$t =~ m/(.*)\.png/; 1.9 $name = $1; 1.10 1.11 1.12 print "convert", " $name.jpg -resize 630x360 ../display/$name.jpg\n"; 1.13 -`convert $name.jpg -resize 630x360 ../display/$name.jpg`; 1.14 +`convert $name.png -resize 630x360 ../images/display/$name.jpg`; 1.15 print "convert", " $name.jpg -resize 280x160 ../thumbnails/$name.jpg\n"; 1.16 -`convert $name.jpg -resize 280x160 ../thumbnails/$name.jpg` 1.17 +`convert $name.png -resize 280x160 ../images/thumbnails/$name.jpg` 1.18 1.19 1.20 1.21 1.22 -} 1.23 \ No newline at end of file 1.24 +}