Leser: 1
|< 1 2 >| | 16 Einträge, 2 Seiten |
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/perl
use strict;
use warnings;
use Data::Dumper;
use GD;
my $myImage = new GD::Image(300, 100);
my $index = $myImage->colorAllocate(0,0,0);
my @bounds = $myImage->stringFT(255,"./visitor1.ttf",gdSmallFont,0,20,20,"Hallo");
print Dumper \$index;
open(FILE, "+>", "new.png") or die $!;
binmode FILE;
print FILE $myImage->png;
[255,255,255]
$white = $im->colorAllocate(255,255,255);
|< 1 2 >| | 16 Einträge, 2 Seiten |