jerre_111 has asked for the wisdom of the Perl Monks concerning the following question:
Hi to you all, I'm seeking for some perl-wisdom if I may. I have some trouble with he "scale" function for an image. What I am trying to do is rescale an image (deuh...) But when I try to execute the perl script, I get the following error: "scale() called in void context - scale() returns the scaled image". I'm using this code to scale the image :
$src->scale(xpixels=>400);I was thinking maybe the problem could be my sliders.. I'm also using sliders on my mainwindow and I have made them like this :
$hrScale = $mw->Scale();followed by the configure command for the option for the slider. I don't know if it is right what I am assuming? Butt, I don't know what else is causing the error, and I don't know how to fix it. Many thanks already for your help!
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Scale image problems
by marto (Cardinal) on Mar 20, 2013 at 13:51 UTC | |
by jerre_111 (Sexton) on Mar 20, 2013 at 14:01 UTC | |
Re: Scale image problems
by SuicideJunkie (Vicar) on Mar 20, 2013 at 18:02 UTC | |
Re: Scale image problems
by Tux (Canon) on Mar 20, 2013 at 13:45 UTC | |
by jerre_111 (Sexton) on Mar 20, 2013 at 13:53 UTC |