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!