/[opencvs]/eyes/prep.pl
ViewVC logotype

Contents of /eyes/prep.pl

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations)
Wed Mar 9 09:39:56 2011 UTC (7 years, 7 months ago) by hib
Branch: MAIN
CVS Tags: HEAD
File MIME type: text/plain
eyes - the best fucking mosaic out there
1 print "convert xc:white -resize 300x300 white.bmp\n";
2 #$width=132;
3 #$height=136;
4 $width=144;
5 $height=48;
6
7 for ($y=0;$y<$height;$y++) {
8 for ($x=0;$x<$width;$x++) {
9 $name=sprintf("%03d_%03d.bmp",$x,$y);
10 print "cp white.bmp n/g$name\n";
11 }
12 }

  ViewVC Help
Powered by ViewVC 1.1.5