File: mkgradient256.pl

package info (click to toggle)
xcftools 1.0.4-1%2Betch1
  • links: PTS
  • area: main
  • in suites: etch
  • size: 1,024 kB
  • ctags: 547
  • sloc: sh: 3,757; ansic: 3,123; perl: 754; makefile: 274
file content (6 lines) | stat: -rw-r--r-- 106 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
print "P2 256 256 255\n" ;
for $y ( 0 .. 255 ) {
    for $x ( 0 .. 255 ) {
        print "$x\n" ;
    }
}