With GD, you just "undef $im". I'm not sure in your loop where it needs to be done, because it's not a working snippet, but try putting it right before you create the GD object, it may complain on the first run, but it will clear it out for subsequent runs.
In reply to Re: Images created in a loop grow
by zentara
in thread Images created in a loop grow
by gtm
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |