Maybe you just need
?my $resized = GD::Image->new($small_w || 1, $small_h || 1);
In reply to Re: resampling an image using GD not working on Linux
by 1nickt
in thread resampling an image using GD not working on Linux
by Discipulus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |