Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Scale image problems

by marto (Chancellor)
on Mar 20, 2013 at 13:51 UTC ( #1024518=note: print w/ replies, xml ) Need Help??


in reply to Scale image problems

Rather than have people guess, please be specific and tell us what modules you're using to do this. If you're using Imager then the documentation and warning are correct, a new image is returned on successful transformation:

my $newimg = $src->scale(xpixels=>400);

From the docs:

"Returns a new scaled image on success. The source image is not modified. Returns false on failure, check the errstr() method for the reason for failure. A mandatory warning is produced if scale() is called in void context. "

Please read How do I post a question effectively?.


Comment on Re: Scale image problems
Download Code
Re^2: Scale image problems
by jerre_111 (Sexton) on Mar 20, 2013 at 14:01 UTC

    Sorry, I was trying to be specific. I see now what I have overlooked.

    Thank you

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (19)
As of 2014-08-29 12:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (280 votes), past polls