$src->scale(xpixels=>400);
"scale() called in void context - scale() returns the scaled image"
Yep. Looks like void context to me too.
Why are you not saving the return value? The message is saying you should do:
my $resized = $src->scale(xpixels=>400);Which puts the scale in scalar context
In reply to Re: Scale image problems
by SuicideJunkie
in thread Scale image problems
by jerre_111
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |