Bill,

Thanks for the answer, but the behaviour is still the same.

>closing the file should be sufficient.
How can I close the font file? I guess I have to know the filehandle for it
(I am new in perl and don't have any experience with related languages).
At the other side when the same filehandle would be used to open the
fontfile the previous one should be closed automaticall, but that's not the
case.

Any other suggestion?


Thanks in advance,
Eric

> You could start by localizing your vrbls so they get destroyed and
> re-created each time throught the loop to make sure you haven't
> exceeded some other limit in objects:
>
>    my $im = new GD::Image(640,240);
>    my $white = $im->colorAllocate(255,255,255);
>    my $black = $im->colorAllocate(0,0,0);
>    my $red = $im->colorAllocate(255,0,0);
>    my $blue = $im->colorAllocate(0,0,255);
>    my $font_header = 'c:\windows\fonts\VerdanaB.ttf';
>    my $filename = "$count.jpg";
>
> Not sure if that will solve your problems, but it's a first
> thing to try.

_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to