Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

Re: Scale image problems

by SuicideJunkie (Vicar)
on Mar 20, 2013 at 18:02 UTC ( #1024579=note: print w/ replies, xml ) Need Help??

in reply to Scale image problems

"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

Comment on Re: Scale image problems
Select or Download Code

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1024579]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (6)
As of 2015-12-01 03:15 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (792 votes), past polls